cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Curl 7.9.2 install problem w. OpenSSL

From: Michelle A. Hoyle <michelle_at_transcena.com>
Date: Sun, 16 Dec 2001 17:02:08 +0000

I'm having trouble getting the new version to compile properly. It
get an undefined reference to "SSL_get1_session" in the libcurl.so
when I'm compiling.

gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o
-L/usr/local/ssl/include/openssl -L/usr/local/ssl/lib
../lib/.libs/libcurl.so -lssl -lcrypto -ldl -Wl,--rpath
-Wl,/usr/local/lib
../lib/.libs/libcurl.so: undefined reference to `SSL_get1_session'
collect2: ld returned 1 exit status

I'm using:
RedHat Linux (Sun Cobalt Raq) 6.2
OpenSSL 0.94 libraries and binaries in /usr/local/ssl
OpenSSL 0.95 binary in /usr/sbin/ (no libraries for this version)

I'm trying to get it to go with the 0.94 version and I used the
standard ./configure --with-ssl, which didn't report any problems
finding the SSL stuff.

I didn't have trouble compiling curl7.8 with SSL, so I'm not sure why
I'm having problems now.

Any ideas?

Thanks,

M

-- 
----|      TRANSCENA DESIGN  |----------------------------
Michelle A. Hoyle, VP Web Technologies, Canada
#801 T.D. Tower, Edmonton, Alberta, Canada  T5J 2Z1
N. America:  1-888-429-2363  |  UK:  020 7529 1465
International:  +1 780 429 2363
------------------|  internet design architects     |--------
Received on 2001-12-16