curl-users
Re: error: compiling curl with openssl and libssh2 ...........
Date: Mon, 23 Apr 2007 12:05:21 +0200 (CEST)
On Mon, 23 Apr 2007, martin wang wrote:
> SSH support: enabled (libSSH2)
The configure script detected libssh2...
> gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o
> writeenv.o getpass.o homedir.o curlutil.o strtoofft.o strdup.o
> -L/usr/kerberos/lib ../lib/.libs/libcurl.so -lz -Wl,--rpath
> -Wl,/usr/local/lib
But the link line doesn't include it?!
> ../lib/.libs/libcurl.so: undefined reference to `libssh2_userauth_list'
... so these failures appear.
Can you check your config.log for the libssh2 check and see if you can
understand why it didn't properly add -lssh2 to LDFLAGS?
And BTW, you really do want to use a more recent daily snapshot of libssh2
since a lot of goodness have happened in that project since the 0.14 release.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-04-23