curl-users
Re: Build problem on Linux with 7.10.3
Date: Fri, 14 Mar 2003 12:09:48 +0100
Hello Christian,
Christian Knoke wrote:
> On Fri, Mar 14, 2003 at 12:04:42AM +0100, Götz Babin-Ebell wrote:
>>Christian Knoke wrote:
>>>chris_at_max:~> which openssl
>>>/usr/bin/openssl
>>>chris_at_max:~> ls -l /usr/bin/openssl
>>>-rwxr-xr-x 1 root root 1298199 Feb 26 23:06 /usr/bin/openssl
>>>chris_at_max:~> grep UI_OpenSSL /usr/include/openssl/ui.h
>>> Note that the UI_OpenSSL() method completely ignores the user data.
>>>UI_METHOD *UI_OpenSSL(void);
>>>
>>>how comes?
>>In you old mail you had:
>>>make[2]: Entering directory `/home/chris/tmp/curl-7.10.3/src'
>>>/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/ssl/lib -o curl
>> ^^^^^^^^^^^^
>>>main.o
>>>hugehelp.o urlglob.o writeout.o writeenv.o ../lib/libcurl.la -lz -lssl
>>>-lcrypto -ldl -lz
>>>gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o
>>>writeenv.o
>>>-L/usr/ssl/lib ../lib/.libs/libcurl.so -lz -lz -lz -lssl -lcrypto -ldl
>>>-lz
>>>.../lib/.libs/libcurl.so: undefined reference to `UI_OpenSSL'
>>The includes are in /usr/include but the library is in /usr/ssl/lib ?
> Hhm, /usr/ssl/lib/ exists but is empty here.
So the OpenSSL library is got from the directory /usr/lib...
>>Please, what is your compile option ?
>> gcc ... -I/usr/include -I/usr/ssl/include ... ?
> Not sure what you mean. In the Makefile is a line:
>
> CPPFLAGS = -I/usr/ssl/include/openssl -I/usr/ssl/include
So you get your OpenSSL headers from /usr/ssl/include and your
library from /usr/lib ?
Bye
Goetz
-- Goetz Babin-Ebell, TC TrustCenter AG, http://www.trustcenter.de Sonninstr. 24-28, 20097 Hamburg, Germany Tel.: +49-(0)40 80 80 26 -0, Fax: +49-(0)40 80 80 26 -126
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature