From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q43A1-0007LX-30 for garchives@archives.gentoo.org; Mon, 28 Mar 2011 03:30:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66ACCE080A; Mon, 28 Mar 2011 03:29:18 +0000 (UTC) Received: from ohnopublishing.net (d14-69-165-90.try.wideopenwest.com [69.14.90.165]) by pigeon.gentoo.org (Postfix) with ESMTP id 33A2FE080A for ; Mon, 28 Mar 2011 03:29:18 +0000 (UTC) Received: by ohnopublishing.net (Postfix, from userid 1000) id ADBD1888B3; Sun, 27 Mar 2011 23:32:18 -0400 (EDT) X-DKIM: Sendmail DKIM Filter v2.8.3 ohnopublishing.net ADBD1888B3 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ohnopublishing.net; s=ohnopublishing.net; t=1301283138; bh=PhjZX6bh6fxysb6FYc/FV32slMD8w+v0hMUm8r8dqC0=; h=Date:From:To:Subject:Message-ID:References:MIME-Version: Content-Type:In-Reply-To; b=k2RtfBlRJcE3+W2ecJFjBDO5KNXRnjzxljhFzWWIiMNPLNbkNB6sdDOc8ZRhY/zMb DBszWl/e/emzFKxFW3r1+n5kVIWwclUecrNmI75Ik1k0S05c5c9hRfsSDU5UvxPBWp xRxl0SDeLH28AOi7E1oENrjaVmFnpWTp/YXJsk8c= Date: Sun, 27 Mar 2011 23:32:18 -0400 From: Nathan Phillip Brink To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] No LibX11 Libtool Archive Installed Message-ID: <20110328033218.GF6426@ohnopublishing.net> References: <20110327221640.ce25fdb4.frank.peters@comcast.net> <4D8FFD82.2040709@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pfhjpIY4DSX7ckaW" Content-Disposition: inline In-Reply-To: <4D8FFD82.2040709@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: X-Archives-Hash: d4c74bd1188b278c922494be831a6853 --pfhjpIY4DSX7ckaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 27, 2011 at 10:16:18PM -0500, Dale wrote: > Frank Peters wrote: > > Hello, > > > > The latest GTK+-2.24.3 failed to build on my system because of the > > following error: > > > > /bin/grep: /usr/lib64/libX11.la: No such file or directory > > /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory > > libtool: link: `/usr/lib64/libX11.la' is not a valid libtool archive > > > > The libX11.la that is missing should be in the x11-libs/libX11 package. > > But why is libX11.la missing? > > > > I can emerge libX11 using USE=3D"static-libs" or USE=3D"-static-libs" > > but libX11.la is not produced in either case. > > > > The emerge log when building libX11 always shows the following: > > > > Removing unnecessary ... x11-libs/libX11-1.4.2/image/usr/lib64/libX11-x= cb.la > > Removing unnecessary ... x11-libs/libX11-1.4.2/image/usr/lib64/libX11.la > > > > So the .la files are being produced but are being removed afterwards. > > > > Does anyone else have a missing /usr/lib64/libX11.la file? > > > > Frank Peters > > > > > > =20 >=20 > I think I read on -dev that .la files were being removed. It seems to=20 > have been causing trouble when packages were being updating that were=20 > linked against each other. So, they made things so that they would work= =20 > without them and removed them. Yeah, something like this. The problem is that other .la files in /usr/lib* will directly reference libX11.la. Thus, when libtool is used by GTK+ to link against some library it depends on _other_ than libX11, that other library will say ``I need /usr/lib64/libX11.la''. libtool tries to load this file and give you the lovely error message above. What you essentially need to do is find all /usr/lib*/lib*.la file which contain the string ``libX11.la'' and remove ``libX11.la'' from those files and/or just delete those .la files which have ``libX11.la'' in them. In my experience, $ rm /usr/lib??/lib*.la fixes such problems just fine. *However*, people will probably recommend you install lafilefixer and run $ lafilefixer --justfixit However, I've never done this myself so I'm just regurgitating what I've heard from others... ;-). (I use the unofficial portage-multilib branch of portage which almost completely disables .la file installation and thus I _never_ hit this sort of ``can't find libX11.la'' problem anymore.) > That is oversimplified since it was a while back but I think that is=20 > normal nowadays. Someone correct me if I am wrong on this. >=20 > Dale >=20 > :-) :-) >=20 --=20 binki Look out for missing apostrophes! --pfhjpIY4DSX7ckaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAk2QAUIACgkQni8M22OVw8DFaACfeNo8u8nzi5I1QHI70eGQgLtF 0HsAnjuh3KmEbSx3j1/emaPfWDorfJmF =aJix -----END PGP SIGNATURE----- --pfhjpIY4DSX7ckaW--