On Fri, 23 Mar 2007, Dan Nicholson wrote:
> On 3/23/07, Jorge Almeida <[EMAIL PROTECTED]> wrote: >> >> Googling around, I found that it wants a directory /usr/X11R6/lib. I had >> xorg in /opt/xorg, and /etc/ld.so.conf has: >> # Begin /etc/ld.so.conf >> >> /usr/local/lib >> /usr/lib >> /opt/lib >> /opt/xorg/lib >> >> # End /etc/ld.so.conf > > Just to be clear about something, /etc/ld.so.conf tells the dynamic > linker, ld-linux.so, where to search for libraries at run-time. At > build-time, your using the linker ld. It searches in directories > specified by -L on the command line and then a few standard > directories. > > So, when building, ld needs to be instructed to search in an alternate > location, just like telling gcc to search for headers with -I. Most of > the time you don't have to worry about this because configure and/or > pkg-config take care of this for you. In this case, Python couldn't > figure it out and added -L/usr/X11/lib as the fallback. > Thanks. -- Jorge -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
