public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] What is libX11.la, and how do I build it?
@ 2011-04-18  7:35 Alan Mackenzie
  2011-04-18  8:13 ` Neil Bothwick
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alan Mackenzie @ 2011-04-18  7:35 UTC (permalink / raw
  To: gentoo-user

Hi, Gentoo.

I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
log indicates:

    /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

.  Looking into lib64, most libraries have versions .a, .la, .so*.  What
is .la?  "file libevtlog.la" says "libtool library file".  What does
this mean?  Is it the 64 bit version, or something?

Why is libX11 lacking the .la version?  More to the point, what do I
have to do to build it?  I've already tried setting the "static-libs"
use flag in /etc/portage/package.use, to no avail.

-- 
Alan Mackenzie (Nuremberg, Germany).



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] What is libX11.la, and how do I build it?
  2011-04-18  7:35 [gentoo-user] What is libX11.la, and how do I build it? Alan Mackenzie
@ 2011-04-18  8:13 ` Neil Bothwick
  2011-04-18 16:13 ` Philip Webb
  2011-05-07 10:57 ` Enrico Weigelt
  2 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2011-04-18  8:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

On Mon, 18 Apr 2011 07:35:56 +0000, Alan Mackenzie wrote:

> I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
> log indicates:
> 
>     /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

Run: 
emerge lafilefixer
lafilefixer --justfixit

Later portage versions handle this automatically.


-- 
Neil Bothwick

Beware! The end is... <aaarrgh!>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] What is libX11.la, and how do I build it?
  2011-04-18  7:35 [gentoo-user] What is libX11.la, and how do I build it? Alan Mackenzie
  2011-04-18  8:13 ` Neil Bothwick
@ 2011-04-18 16:13 ` Philip Webb
  2011-05-07 10:57 ` Enrico Weigelt
  2 siblings, 0 replies; 4+ messages in thread
From: Philip Webb @ 2011-04-18 16:13 UTC (permalink / raw
  To: gentoo-user

110418 Alan Mackenzie wrote:
> I try to emerge, say, gtk+.  It fails building the cairo lib.
> The build log indicates:
>   /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

I have

  root:504 ~> cd /usr/lib64
  root:505 lib64> ls libX11*
    libX11.la  libX11.so  libX11.so.6  libX11.so.6.3.0  libX11-xcb.la  libX11-xcb.so  libX11-xcb.so.1  libX11-xcb.so.1.0.0
  root:506 lib64> equery belongs /usr/lib64/libX11.la
  [ Searching for file(s) /usr/lib64/libX11.la in *... ]
  x11-libs/libX11-1.4.1 (/usr/lib64/libX11.la)

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] What is libX11.la, and how do I build it?
  2011-04-18  7:35 [gentoo-user] What is libX11.la, and how do I build it? Alan Mackenzie
  2011-04-18  8:13 ` Neil Bothwick
  2011-04-18 16:13 ` Philip Webb
@ 2011-05-07 10:57 ` Enrico Weigelt
  2 siblings, 0 replies; 4+ messages in thread
From: Enrico Weigelt @ 2011-05-07 10:57 UTC (permalink / raw
  To: gentoo-user

* Alan Mackenzie <acm@muc.de> wrote:

> I try to emerge, say, gtk+.  It fails building the cairo lib.  The build
> log indicates:
> 
>     /bin/sed: can't read /usr/lib64/libX11.la: No such file or directory

Upstream bug. Cairo is broken, they rely on unreliable stuff.
(there's a lot of traffic about .la files and why they are
very bad idea from day one in the mail archives ...)


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-05-07 11:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18  7:35 [gentoo-user] What is libX11.la, and how do I build it? Alan Mackenzie
2011-04-18  8:13 ` Neil Bothwick
2011-04-18 16:13 ` Philip Webb
2011-05-07 10:57 ` Enrico Weigelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox