cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Build problem on Linux with 7.10.3

From: Christian Knoke <chrisk_at_enter.de>
Date: Fri, 14 Mar 2003 00:20:34 +0100

On Fri, Mar 14, 2003 at 12:04:42AM +0100, Götz Babin-Ebell wrote:
> Hello Christian,
>
> 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.

> 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

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.
-------------------------------------------------------
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