Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] X11 Library issue

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Spencer Ogden <spencero AT mail.utexas.edu>
  • To: SM-Discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] X11 Library issue
  • Date: Mon, 24 Feb 2003 23:07:36 -0600

spencer@home:~$ cat /etc/ld.so.conf
/usr/local/lib
/usr/X11R6/lib
/usr/lib
/lib
spencer@home:~$ locate libX11
/usr/X11R6/lib/libX11.so
/usr/X11R6/lib/libX11.so.6
/usr/X11R6/lib/libX11.so.6.2
spencer@home:~$ ld -lX11
ld: cannot find -lX11


I thought that would work as well, but it seems ld.so.conf only deals with
runtime library loading. The configure script of gtk+2 fails because it
can find libX11. I assume it is doing something like `ld -lX11`, which
doesn't seem to be influenced by ld.so.conf.

Spencer

On Monday 24 February 2003 10:58 pm, Dufflebunk wrote:
> Add the directory to /etc/ld.so.conf and then run ldconfig
>
> On Mon, 2003-02-24 at 23:33, Spencer Ogden wrote:
> > Sorry if this should go to the spell-list or bug zillla but it seems
> > like it is more of a system setup issue.
> >
> > I am trying to compile gtk+2 and it cannot find libX11.so. This file
> > exists in '/usr/X11R6/lib/' but apparently ld does not search there by
> > default, doing `ld -lX11` results in an error saying the library could
> > not be found. If this is the correct behavior then how is gtk+2
> > supposed to compile. If this behavior can be changed I have not founf
> > out how to in the man pages. Am I missing something?
> >
> > Spencer
> > _______________________________________________
> > SM-Discuss mailing list
> > SM-Discuss AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss




Archive powered by MHonArc 2.6.24.

Top of Page