On Sat, 17 Apr 2010, Lyndon Hill wrote:
> I can build libssh
Let me just emphasize that this library is in fact named libssh2, as there is
a completely separate library and project named libssh...
> but the build halts on making the examples because it
> cannot link to libz: for some reason configure does not pass through the
> library search paths for the linker:
>
> /bin/sh ../libtool --tag=CC --mode=link arm-quantumstep-linux-gnu-gcc -g -O2
> -o direct_tcpip direct_tcpip.o ../src/libssh2.la -ldl libtool: link:
> arm-quantumstep-linux-gnu-gcc -g -O2 -o .libs/direct_tcpip direct_tcpip.o
> ../src/.libs/libssh2.so -ldl -Wl,-rpath -Wl,/usr/local/lib
> /Developer/Xtoolchain/i386-apple-darwin/gcc-2.95.3-glibc-2.2.2/arm-quantumstep-linux-gnu/arm-quantumstep-linux-gnu/bin/ld:
> warning: libz.so.1, needed by ../src/.libs/libssh2.so, not found (try using
> -rpath or -rpath-link)
>
> I'm sorry but I don't know anything about configure scripts or debugging
> these kind of automatically generated makefiles. It would be nice to be able
> to run the tests.
So configure found libz but when it links it no longer finds it? Can you show
us your configure command line?
BTW, since you're cross-compiling you won't be able to run the tests anyway
since they assume that you can run them on the machine you build on.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-04-17