curl-library
libcurl and openssl
Date: Mon, 18 Oct 2004 14:42:36 +0200
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
Received on 2004-10-18