[uClibc]Compile ldd question (newbie)
Albert Veli
albert.veli at biosensor.se
Tue Jul 30 11:03:54 UTC 2002
Hi all,
I succesfully compiled the 2002-07-11 gcc-3.1 toolchain (on a i386 RedHat
7.1 host for a i386 Custom target)
and noticed that i386-uclibc-ldd didn't build. i386-uclibc-readelf which
also is in the ldso/util subdir was successfully built though.
My question is simply, what is the correct way of getting i386-uclibc-ldd
built.
I have downloaded the sources and commented out the wget lines in the main
Makefile.
Then I unpacked uClibc-snapshot.tar.bz2, tried to edit the uClibc/ldso
Makefile (added $(MAKE) -C $(LIBRARY_CACHE) util; at various locations)
then repacked it and tried to make again. Modified again. Pack and make
again etc...
but nothing seems to work. I guess that's just not the right Makefile to
mess with, there must be another way :)
Would be thankful for some enlightenment.
/Albert
PS {
Is there perhaps any way of getting the redhat host ldd to work on my
uClibc dynamically linked apps?
When I try now I just get
/usr/bin/ldd: ./busybox: No such file or directory.
It doesn't seem to help to set LD_LIBRARY_PATH either.
It does work to chroot to the target filesystem and run the apps from there
though.
The downside is that I have to guess which libs to copy to /lib in the
target filesystem.
ldd would really help...
} DS
More information about the uClibc
mailing list