Aleksandar Kuktin wrote: >> On Sat, 09 Feb 2013 10:26:28 -0600 >> Bruce Dubbs <bruce.du...@gmail.com> wrote: >> >> Randy McMurchy wrote: >>> Hi all, >>> >>> I'm not sure how many build Xorg outside of the /usr hierarchy, but >>> I do and it really doesn't cause any issues. However, the build of >>> inkscape choked at the very end when it links all the object files >>> into the inkscape binaries with a "cannot find -lX11" message (or >>> something like that). >>> >>> All I had to do was put "-L/usr/X11R6/lib" on the LDFLAGS= line >>> of /src/Makefile. Is this worth mentioning (to >>> update /src/Makefile.in before starting) in the book? >> >> >> I think so. I build Xorg in /opt/xorg-version and have a symlink >> /opt/xorg pointing to it. >> >> Another way to have the linker liik for an extra path is to set the >> environment variable LIBRARY_PATH. That doesn't require changing any >> files.
> How about puting an entry in /etc/ld.so.conf? > > Would that have an effect on the compiler or is that strictly run-time? > (I forgot.) No, that's only a runtime path for the loader, similar to LD_LIBRARY_PATH. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page