cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: fail to compile libcurl with openssl and libssh2

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 12 Feb 2012 19:45:07 +0100 (CET)

On Sun, 12 Feb 2012, $B2+?4W^(J wrote:

> libtool: link: gcc -g0 -O2 -Wno-system-headers -static -o curl main.o
> hugehelp.o urlglob.o writeout.o writeenv.o getpass.o homedir.o curlutil.o
> os-specific.o xattr.o strtoofft.o strdup.o rawstr.o nonblock.o
> ../lib/.libs/libcurl.a -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err
> -lk5crypto -lresolv -ldl -lz -lrt

...

> : undefined reference to `libssh2_session_set_blocking'
> ../lib/.libs/libcurl.a(ssh.o)(.text+0x42d): In function `ssh_statemach_act':

Obviously there's no -lssh2 on that link line. Possibly your config.log
reveals some info as to why...

-- 
  / daniel.haxx.se

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-12