have a compile problem

Net Llama! netllama
Mon May 17 11:34:36 PDT 2004


Keith Antoine wrote:
> This has reared its head recently whereby dependecy libs are not being found 
> by a program that is being installed.
> 
> The libraries do exist on the system and should be in the PATH, so why is it 
> that they are not being found. This is not limitted to any particular lib, 
> however some are found, it seems inconsistent. Ldconfig being called 
> sometimes is a waste of time:
> 
> ld.so.conf has these entries in:
> /usr/X11R6/lib
> /opt/kde/lib
> /opt/kde2/lib
> /opt/kde3/lib
> /usr/lib/qt2/lib
> /usr/lib/qt3/lib/
> /opt/volution/lib
> /usr/lib/
> /usr/local/lib/
> /usr/local/bin
> /usr/bin
> /opt/kde/bin

Why do you have */bin directories in there??  You should only have 
directories with shared objects (so).

> 
> 
> For instance I have tried installed the rpm both it and a src rpm which do not 
> fine the following 
> libaviplay-0.7.so.0
> libesd.so.0
> libpng.so.2
> libSDL-1.2.so.0
> 
> If I do a locate on the system it comes back with :
> /usr/local/lib/libaviplay-0.7.so.0
> /usr/local/lib/libaviplay-0.7.so.0.0.3
> /usr/local/lib/libaviplay-0.7.so.0.0.6
> /usr/local/lib/libaviplay.la
> /usr/local/lib/libaviplay.so
> /usr/local/lib/libaviplay-0.7.so.0.0.7
> /usr/local/lib/libaviplay-0.7.so.0.0.8
> 
> /lib/libpng.a
> /lib/libpng.so
> /lib/libpng.so.2
> /lib/libpng.so.2.1.0.8
> 
> /usr/lib/libSDL-1.1.so.0
> /usr/lib/libSDL-1.1.so.0.5.3
> /usr/lib/libSDL.so
> /usr/lib/libSDL-1.2.so.0
> /usr/lib/libSDL-1.2.so.0.0.4
> /usr/lib/libSDL.a
> /usr/lib/libSDLmain.a
> /lib/libSDL-1.1.so.0
> /lib/libSDL-1.2.so.0
> /lib/libSDL-1.2.so.0.0.4
> /lib/libSDL.a
> /lib/libSDL.so
> /lib/libSDLmain.a
> 
> /usr/lib/libesd.so.0
> /usr/lib/libesd.so.0.2.8
> /usr/lib/libesddsp.so.0
> /usr/lib/libesddsp.so.0.2.8
> /lib/libesd.so.0
> /lib/libesd.so.0.2.8
> /lib/libesddsp.so.0
> /lib/libesddsp.so.0.2.8
> 
> 
> Most seem to occur in 2 seperate areas, but /lib should be in the PATH and 
> they should be found.
> 
> This is occuring with Office beta install from a tarball, its also occurs as I 
> said with src rpms and as dependencies with rpms.

Run "ldconfig -v | grep <whatever_lib_you_need>

and see if it appears in the output.  If it appears then the problem is 
not the dynamic loader, its the RPM, or whatever you're trying to 
build/install.



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                       	       netllama at linux-sxs.org
Linux Step-by-step & TyGeMo: 		    http://netllama.ipfox.com

   7:50pm  up 81 days,  2:37,  2 users,  load average: 0.11, 0.08, 0.19




More information about the Linux-users mailing list