[blfs-dev] Inkscape build

Aleksandar Kuktin akuktin at gmail.com
Sat Feb 9 09:52:29 PST 2013


>On Sat, 09 Feb 2013 10:26:28 -0600
>Bruce Dubbs <bruce.dubbs at 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.
> 
>     -- Bruce

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.)

-- 
You don't need an AI for a robot uprising.
Humans will do just fine.
                     --Skynet



More information about the blfs-dev mailing list