[ale] cannot find -ltdl

Stephan Uphoff ups at stups.com
Fri Jan 9 12:02:38 EST 2004


What is your link line ?

You are not trying to build a static binary by any chance ?

	Stephan
> Guys,
> 
> Trying to compile php on a RH 9 box, and have run across an error I've not
> seen before:
> 
> /usr/bin/ld: cannot find -lltdl
> 
> Problem is, the library seems to be there:
> 
> [root at liberator php-4.3.3]# apt-cache search ltdl
> libtool-libs - Runtime libraries for GNU libtool.
> libtool-libs13 - The GNU libtool, which simplifies the use of shared
> libraries.
> [root at liberator php-4.3.3]# rpm -qa | grep libtool
> libtool-libs-1.4.3-5
> libtool-libs13-1.3.5-7
> [root at liberator php-4.3.3]# rpm -ql libtool-libs | grep ltdl
> /usr/lib/libltdl.so.3
> /usr/lib/libltdl.so.3.1.0
> [root at liberator php-4.3.3]# locate libltdl
> /usr/lib/libltdl.so.3.1.0
> /usr/lib/libltdl.so.3
> [root at liberator php-4.3.3]# file /usr/lib/libltdl*
> /usr/lib/libltdl.so.0:     symbolic link to libltdl.so.0.1.2
> /usr/lib/libltdl.so.0.1.2: ELF 32-bit LSB shared object, Intel 80386,
> version 1 (SYSV), stripped
> /usr/lib/libltdl.so.3:     symbolic link to libltdl.so.3.1.0
> /usr/lib/libltdl.so.3.1.0: ELF 32-bit LSB shared object, Intel 80386,
> version 1 (SYSV), stripped
> 
> The files are definitely there.
> 
> Just to make sure, I checked to see if ld knows about them:
> 
> [root at liberator php-4.3.3]# ldconfig -p | grep ltdl
>         libltdl.so.3 (libc6) => /usr/lib/libltdl.so.3
>         libltdl.so.0 (libc6) => /usr/lib/libltdl.so.0
> 
> Now, I'm at a loss.  I've searched google for awhile now and haven't run
> across a valid solution.
> 
> Can anyone see what I'm missing here?
> 
> Thanks!
> 
> John
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 




More information about the Ale mailing list