> I'm trying to create a binary statically linked to the libssh2 > libraries. > Unfortunately this task fails ... >
If you want static linking, try: gcc -I/usr/local/include /usr/local/lib/libssh2.a sftptest.c -o sftptest The "-l" and "-L" I only use for dynamic linking. _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
