[blfs-dev] Inkscape build

Bruce Dubbs bruce.dubbs at gmail.com
Sat Feb 9 13:58:52 PST 2013


Aleksandar Kuktin wrote:
>> 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.

> 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







More information about the blfs-dev mailing list