cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: undefined reference to `SSL_get1_session'

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 3 Oct 2001 17:15:45 +0200 (MET DST)

On Wed, 3 Oct 2001, Arunas Andriulaitis wrote:

> gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o
> ../lib/.libs/libcurl.so /usr/lib/libssl.so /usr/lib/libcrypto.so -ldl
> -Wl,--rpath -Wl,/usr/local/lib ../lib/.libs/libcurl.so: undefined
> reference to `SSL_get1_session'

You're obviously not having OpenSSL installed (the SSL_get1_session function
is part of libssl) and you're trying to install a curl package that requires
that. Install OpenSSL first, then retry the curl installation.

You may have a too old OpenSSL installation. The SSL_get1_session() function
was introduced in OpenSSL 0.9.5, so anything older will not work.

Or get a curl package that doesn't require SSL.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-10-03