2010/10/18 may nothing <[email protected]>:

> I'm trying to create a binary statically linked to the libssh2 libraries.
> Unfortunately this task fails ...
>
> r...@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

Reply via email to