[blfs-dev] Inkscape build

Bruce Dubbs bruce.dubbs at gmail.com
Sat Feb 9 08:26:28 PST 2013


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






More information about the blfs-dev mailing list