Hi folks trying to get my toolchain in order :-)
I am trying to compile libpcap, but already configure detects a missing
library
configure:8978: i486-unknown-linux-uclibc-gcc -o conftest -O2
-march=i486 -mtune=pentiumpro
-I/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/usr/include
-I/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/usr/include
-L/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/lib
-L/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/usr/lib
-Wl,-rpath,/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/lib
-Wl,-rpath,/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/usr/lib
conftest.c -lnl-genl-3 -lnl-3 >&5
/data/leaf/devel/leaf.new/bering-uclibc/toolchain/i486-unknown-linux-uclibc/lib/gcc/i486-unknown-linux-uclibc/4.6.4/../../../../i486-unknown-linux-uclibc/bin/ld:
warning: libm.so.6, needed by
/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/usr/lib/libnl-genl-3.so,
not found (try using -rpath or -rpath-link)
I am using rpath here, but indeed, libm.so.6 is missing in the staging dir
here is the conflicting ldd
mega@luna:~/leaf/devel/leaf.new/bering-uclibc> ldd
/data/leaf/devel/leaf.new/bering-uclibc/staging/i486-unknown-linux-uclibc/usr/lib/libnl-genl-3.so
linux-gate.so.1 => (0xf57fe000)
libnl-3.so.200 => not found
libpthread.so.0 => /lib/libpthread.so.0 (0xb7847000)
libm.so.6 => /lib/libm.so.6 (0xb781e000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb780f000)
libc.so.6 => /lib/libc.so.6 (0xb76b2000)
/lib/ld-linux.so.2 (0xb787a000)
indeed, no libm.so.6
mega@luna:~/leaf/devel/leaf.new/bering-uclibc> find . -name libm.so\*
./source/i486-unknown-linux-uclibc/toolchain/uClibc-0.9.33.2/lib/libm.so.0
./source/i486-unknown-linux-uclibc/toolchain/uClibc-0.9.33.2/lib/libm.so
./toolchain/i486-unknown-linux-uclibc/lib/libm.so.0
./toolchain/i486-unknown-linux-uclibc/usr/lib/libm.so
./staging/i486-unknown-linux-uclibc/lib/libm.so.0
mega@luna:~/leaf/devel/leaf.new/bering-uclibc> ls -l
./staging/i486-unknown-linux-uclibc/lib/libm.so.0
lrwxrwxrwx 1 mega users 16 2013-10-29 19:03
./staging/i486-unknown-linux-uclibc/lib/libm.so.0 -> libm-0.9.33.2.so
Any hints?
Thanks
Erich
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________ leaf-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-devel
