cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Build problem on Linux with 7.10.3

From: Götz Babin-Ebell <babin-ebell_at_trustcenter.de>
Date: Fri, 14 Mar 2003 00:04:42 +0100

Hello Christian,

Christian Knoke wrote:
> On Thu, Mar 13, 2003 at 11:00:41PM +0100, Daniel Stenberg wrote:
>
>>I think the problem you experience is due to some mixed OpenSSL versions
>>installed in your system.

> Possible, but

>>The configure script detects an OpenSSL version
>>*with* the engine.h header file (indicating you have ENGINE support) but yet
>>you don't seem to have the UI_OpenSSL() function in the library when its time
>>to link.
>
>
> chris_at_max:~> ls -l /usr/include/openssl/ui.h /usr/include/openssl/engine.h
> -rw-r--r-- 1 root root 35152 Feb 26 23:05 /usr/include/openssl/engine.h
> -rw-r--r-- 1 root root 16892 Feb 26 23:05 /usr/include/openssl/ui.h
                                                           ^^^^^^^^^^^^

> 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 ?

Please, what is your compile option ?
  gcc ... -I/usr/include -I/usr/ssl/include ... ?

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

Received on 2003-03-14