On Sun, 2004-12-19 at 20:32, Oliver Ertl wrote: > Hello, > > Thanks for that quick fix on libpcap/tcpdump . > > Tcpdump now compiles fine, but when I run ldd on the tcpdump binary > it shows that it was linked against the system libs (libc.so.0) and > not the one from buildroot. The same problem happens with the > openssl binary. > > Output from ldd on tcpdump: > [EMAIL PROTECTED]:~/buildtool$ staging/usr/bin/ldd > staging/usr/sbin/tcpdump > libpcap.so.0.7 => /usr/lib/libpcap.so.0.7 (0x40006000) > libc.so.0 > => /home/leaf-dev/src/bering-uclibc/buildtool/staging/lib/libc.so.0 > (0x40024000) > WARNING: /usr/lib/libpcap.so.0.7 is linked with GNU libc! > ld-uClibc.so.0 > => /home/leaf-dev/src/bering-uclibc/buildtool/staging/lib/ld-uClibc.so.0 > (0x40000000) > [EMAIL PROTECTED]:~/buildtool$ > > > Is this normal, or an error? > never trust ldd... This is a normal, the reason for this is, that staging/usr/lib is unfortunatly not in the standard path for ld-uClibc.so.0 which is used by ldd... Use normal ldd and LD_LIBRARY_PATH instead:
[EMAIL PROTECTED]:/home/stuff1/test/src/bering-uclibc/buildtool$ ldd staging/usr/sbin/tcpdump libpcap.so.0.7 => /usr/lib/libpcap.so.0.7 (0x40006000) libc.so.0 => /home/stuff1/test/src/bering-uclibc/buildtool/staging/lib/libc.so.0 (0x40024000) WARNING: /usr/lib/libpcap.so.0.7 is linked with GNU libc! ld-uClibc.so.0 => /home/stuff1/test/src/bering-uclibc/buildtool/staging/lib/ld-uClibc.so.0 (0x40000000) [EMAIL PROTECTED]:/home/stuff1/test/src/bering-uclibc/buildtool$ export LD_LIBRARY_PATH=$(pwd)/staging/usr/lib [EMAIL PROTECTED]:/home/stuff1/test/src/bering-uclibc/buildtool$ ldd staging/usr/sbin/tcpdump libpcap.so.0.7 => /home/stuff1/test/src/bering-uclibc/buildtool/staging/usr/lib/libpcap.so.0.7 (0x40006000) libc.so.0 => /home/stuff1/test/src/bering-uclibc/buildtool/staging/lib/libc.so.0 (0x40020000) ld-uClibc.so.0 => /home/stuff1/test/src/bering-uclibc/buildtool/staging/lib/ld-uClibc.so.0 (0x40000000) > Oliver --arne ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel