[uClibc]libcrypt and libdl linking

Erik Andersen andersen at lineo.com
Fri Apr 27 08:18:48 UTC 2001


On Fri Apr 27, 2001 at 10:04:26AM +0200, C?dric Schieli wrote:
> Hello
> 
> There still seems to be a problem of linking from libdl (and libcrypt).
> I build uClibc on a i386 RH6.2 system and that's what ldd report :
> 
> [cedric at tron cedric]$ ldd /usr/i386-linux-uclibc/lib/libcrypt.so.0
>         /lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x40005000)
>         libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0 (0x40010000)
>         libc.so.6 => /lib/libc.so.6 (0x4003f000)
>         ld-linux-uclibc.so.0 =>

Strange.  It works of for me here.

    [andersen at sage uClibc]$ ldd /usr/i386-linux-uclibc/lib/libcrypt.so.0
            libc.so.0 => /usr/i386-linux-uclibc/lib/libc.so.0 (0x4000a000)
	    ld-linux-uclibc.so.0 => /usr/i386-linux-uclibc/lib/ld-linux-uclibc.so.0 (0x4003a000)

Out of curiosity, what (if anything) happens if you add
/usr/i386-linux-uclibc/lib to /etc/ld.so.conf and then run 'ldconfig'?  Perhaps
there are some stale libraries installed...  What happens if you 'rm -rf
/usr/i386-linux-uclibc' then reinstall?

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list