[uClibc] Library path

Paul Brook paul at codesourcery.com
Sun Dec 19 23:32:46 UTC 2004

On Sunday 19 December 2004 23:22, Dmytro Bablinyuk wrote:
> I have found the problem - the uClibc compiled binary actually doesn't
> care about LD_LIBRARY PATH
> It is looking always for
> /lib/ld-uClibc.so.0
> So this fixes the problem
> cd /lib
> ln -s
> .../buildroot/build_i386/staging_dir/i386-linux-uclibc/lib/ld-uClibc-0.9.26
>.so ld-uClibc.so.0
> Is this an expected behavior of uClibc or I am missing something.
> Before I always used the target therefore I had no such problem before.

The location of the dynamic linker is always hardcoded into non-static 
executables. You can change it using the --dynamic-linker LD commandline 
option when linking.

Note your problems is the dynamic linker, not uClibc itself.


More information about the uClibc mailing list