curl-library
Re: libcurl and openssl
Date: Mon, 18 Oct 2004 14:10:42 +0100
Dunno if it'll help you but I just installed openssl 0.9.7d and curl 7.12.1
simply like that on a redhat 9. (not sure theres a lot of difference between
shrike and fedora for that):
I just enabled the simplest option :
as root :
wget http://www.openssl.org/source/openssl-0.9.7d.tar.gz
tar xvfz openssl-0.9.7d.tar.gz
cd openssl-0.9.7d
./config
make
make test
make install
cd ..
for curl :
wget http://curl.haxx.se/download/curl-7.12.1.tar.gz
tar xvfz curl-7.12.1.tar.gz
cd curl-7.12.1
./configure --with-ssl
And did not have any problem. (Note I installed some months ago a 7.11.2 on
a fedora core 1 box as well with openssl 0.9.7d the same way and it worked
nicely)
If it doesnt work using that, I cant say more than try to track your include
and libs file generated by openssl/curl as very often the previous installed
version is still available and in directories "more accessible than the new
one". e.g '/usr/include' and the new ones are in '/usr/local/include' and
the first directory is before the second when trying to access the files...
____________________
<Gu>[W]ill[i]a<u>m<e>
http://www.lacde.net
----- Original Message -----
From: <Bastian.Zacher_at_aspect-online.de>
To: <curl-library_at_cool.haxx.se>
Sent: Monday, October 18, 2004 1:42 PM
Subject: libcurl and openssl
> Hello,
>
> I want to compile libcurl and openssl by hand. The system is a
> redhad-fedora core 2 box.
> These are the versions:
> openssl-0.9.7d
> curl-7.12.1
>
> And this is the steps i've done:
>
> openssl:
> ./config shared --openssldir=/usr/local/openssl/0.9.7d
> make && make install
>
> curl:
> ./configure --with-ssl=/usr/local/openssl/0.9.7d
>
> ...
> checking for curl_off_t... yes
> checking size of curl_off_t... configure: error: cannot compute sizeof
> (curl_off_t), 77
> See `config.log' for more details.
>
> Last lines of config.log:
> ...
> #endif
> #ifdef __cplusplus
> extern "C" void std::exit (int) throw (); using std::exit;
>
> configure: exit 1
>
> Anybody out there, who knows how compile and install libcurl against
> openssl?
> I've googled but there are no helpful hints.
>
> There's an installed openssl-rpm package but I told curl already which
> version
> it should use.
>
> If I run the configure without any options, curl will use the nessecary
> libraries from the installed
> rpm-package. 'configure' will ran sucessfully, but the following 'make'
> also terminates with an error:
>
> ...
> ../lib/.libs/libcurl.so: undefined reference to `DES_set_odd_parity'
> ../lib/.libs/libcurl.so: undefined reference to `UI_OpenSSL'
> ../lib/.libs/libcurl.so: undefined reference to `DES_set_key'
> ../lib/.libs/libcurl.so: undefined reference to `DES_ecb_encrypt'
> collect2: ld returned 1 exit status
> make[2]: *** [curl] Fehler 1
> make[2]: Leaving directory `/usr/src/curl-7.12.1/src'
> make[1]: *** [all] Fehler 2
> make[1]: Leaving directory `/usr/src/curl-7.12.1/src'
> make: *** [all-recursive] Fehler 1
>
> According to an advice, I searched for the des.h and found only one. No
> older versions are installed.
> The installed rpm-packages is version 0.9.7a-35.
>
> Thanks for your help...
>
> bastian
>
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.764 / Virus Database: 511 - Release Date: 15/09/2004Received on 2004-10-18