cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can't link static library on ubuntu

From: Doug <douglas.linder_at_gmail.com>
Date: Wed, 25 Jul 2012 14:25:08 +0800

Yep, build successfully against openssl-1.0.1c.

On Wed, Jul 25, 2012 at 1:52 PM, Doug <douglas.linder_at_gmail.com> wrote:
> Hm, having another problem. This time it's this error when I try to
> link on 64-bit ubuntu:
>
> moaideps/3rdparty/curl/curl-7.26.0/lib/.libs/libcurl.a(libcurl_la-ssluse.o):
> In function `ossl_connect_common':
> ssluse.c:(.text+0x341c): undefined reference to `SSL_CTX_set_srp_username'
> ssluse.c:(.text+0x38bf): undefined reference to `SSL_CTX_set_srp_password'
> collect2: ld returned 1 exit status
> make[2]: *** [moai] Error 1
> make[1]: *** [CMakeFiles/moai.dir/all] Error 2
> make: *** [all] Error 2
>
> curl is configured and built with the options:
> ./configure --disable-ldap
> --with-ssl=/home/doug/lib/moai-dev-build/cmake/build/moaideps/3rdparty/_openssl/openssl-1.0.0d
>
> And openssl with:
> ./config no-shared
>
> Any ideas?
>
> SSL_CTX_set_srp_username doesn't show up in the openssl code base at all.
>
> (Just as I posted this I saw it _does_ turn up in the 1.0.1 codebase.
> Looks like curl doesn't work with older ssl? I'll try updating my
> openssl and see if it'll compile correctly)
>
> ~
> Doug.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-25