2010/10/18 may nothing <may_241913_at_yahoo.com>:
> I'm trying to create a binary statically linked to the libssh2 libraries.
> Unfortunately this task fails ...
>
> root_at_server: /data/work > gcc -I/usr/local/include -I/usr/include
> -L/usr/local/lib -L/usr/lib -static sftptest.c -o sftptest
> Any ideas ?
Did you try adding "-lssh2" to linker flags?
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-10-18