Re: libXpm not found?
On Tue, 26 Jun 2001, mformica2 wrote:
> I'm using WindowMaker and trying to build libdockapp on my Quadra 610
> with potato, and the ./configure file is failing in its check for
> XpmCreatePixmapFromData, claiming that libXpm was not found.
> However, libXpm.so.4 (pointing to libXpm.so.4.11) is in
> /usr/X11R6/lib, and /etc/ld.so.conf contains /usr/X11R6/lib, so I
> don't see how it's not finding it.
ld.so.conf is a workaround for some programmers' lazyness (ELF says you
should specify the runtime library search path in the executables, but
people expect all libraries in the default path). The file is only read by
the run-time linker, never by gcc.
LDFLAGS=-L/usr/X11R6/lib ./configure ...
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
Fingerprint: DC26 EB8D 1F35 4F44 2934 7583 DBB6 F98D 9198 3292
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!