Hi KP on 13.11.2013 18:24, KP Kirchdörfer wrote: >> > > Hi Erich; > > sorry no hints - but whatever happens with your toolchain it seems wrong. > > There is no need for libm.so.6 as far as I can see. >
I started from scratch, left the build process running while away, just to see keepalived failing the very same way. 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 (0xb7782000) libm.so.6 => /lib/libm.so.6 (0xb7759000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb774a000) libc.so.6 => /lib/libc.so.6 (0xb75ed000) /lib/ld-linux.so.2 (0xb77b5000) It looks like libnl-genl-3 is built differently/badly and what is puzzling is the fact that libnl-3.so.200 is not found, but in reality it exists at the destination. Still the loader looks for libm.so.6 Building ../bin/keepalived /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) It looks like the uClibc libraries are not built completely or that some objects want to be built against the standard C library. On my system there is a native libm.so.6 find /lib -name libm.so\* /lib/libm.so.6 On my system there is a native libm.so.6 but there is no such thing in the uClibc path. The LDFLAGS in the respective makefile appear to be correct LDFLAGS = -lpopt -lssl -lcrypto -lnl-3 -lnl-genl-3 -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 -ldl libnl-genl-3 is the generic netlink library, Does anyone know where it is built in the toolchain build? Thanks Erich
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel