[uClibc]libdl.so does not build

Michael Shmulevich michaels at jungo.com
Thu Apr 26 17:24:25 UTC 2001


Cédric Schieli wrote:

> With current CVS, libdl.so cannot be build :
> in the main Makefile, ld-so.1/ is build before the shared uClibc.so.0.95

This is normal, since dynamic linker is independent of libc.so, however
libdl is not.
We might be better off moving libdl stuff to uClibc's top level, and
building it after libc.so.
Probably Erik has already taken care of it.

>
> I've tried by moving @make -C ld-so.1 after uClibc.so building and
> everything works
> except that libdl.so.0 seems to be linked with libc.so.6 and
> ld-linux.so.2

This usually happens because of the usage of regular  'ld' without -nostdlib
and -L$(UCLIBC_TOPDIR)
See if this is the case.

> busybox built with those libs will segfault on both build and target
> platforms

Sure, you cannot specify dependency on two dynamic linkers together!

Michael.






More information about the uClibc mailing list