cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL 7.9.8 with OpenSSL-0.9.6g on RHLinux 7.2

From: Bijal Kothari <bijal.kothari_at_hi2.com>
Date: Fri, 20 Sep 2002 12:45:31 +0100

Ralph Mitchell,

Thank you for prompt reply and suggestion. I tried the config method you
suggested. Now cURL fails to make, see the error i get.

I re-compiled OpenSSl0.9g and then cURL.

Making all in src
make[1]: Entering directory `/usr/local/curl-7.9.8/src'
make all-am
make[2]: Entering directory `/usr/local/curl-7.9.8/src'
/bin/sh ../libtool --mode=link gcc -g -O2 -L/usr/local/ssl/lib -o curl
main.o hugehelp.o urlglob.o writeout.o writeenv.o ../lib/libcurl.la -lssl -
lcrypto -ldl
gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o writeenv.o -
L/usr/local/ssl/lib ../lib/.libs/libcurl.so -lssl -lcrypto -ldl -Wl,--rpath -
Wl,/usr/local/lib
../lib/.libs/libcurl.so: undefined reference to `ENGINE_load_private_key'
../lib/.libs/libcurl.so: undefined reference to `ENGINE_set_default'
../lib/.libs/libcurl.so: undefined reference to `ENGINE_free'
../lib/.libs/libcurl.so: undefined reference to `ENGINE_by_id'
collect2: ld returned 1 exit status
make[2]: *** [curl] Error 1
make[2]: Leaving directory `/usr/local/curl-7.9.8/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/curl-7.9.8/src'
make: *** [all-recursive] Error 1

Thank you,
Bijal Kothari.
bijal.kothari_at_hi2.com

> You need to tell curl where you installed the new OpenSSL.
>
> For example, if you used the default build for openssl-0.9.6g:
>
> ./config
> make
> make install
>
> it goes into /usr/local/ssl, so for curl you'd do:
>
> ./configure --with-ssl=/usr/local/ssl
>
> If you put openssl anywhere else, tell curl where it is.
>
> Ralph Mitchell
>
> Bijal Kothari wrote:
>
> > Hi,
> >
> > On RedHat 7.2 Linux,
> > when compiling cURL 7.9.8 with ssl it takes the default OpenSSL-0.9.6b
built
> > in with the RH Linux.
> >
> > I want it to compile it with latest bug fix release OpenSSL-0.9.6g.
> >
> > I first installed successfully OpenSSL-0.9.6g.
> > and when compiling cURL with ssl
> > LDFLAGS=-L/usr/local/ssl/lib
> > ./configure --with-ssl
> > make
> > make test
> >
> > on make test it displays OpenSSL-0.9.6b still.
> >
> > What do i need to to do to take the new ssl into cURL installation ?
> >
> > Thank you,
> > Bijal Kothari
> > bijal.kothari_at_hi2.com
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf

Bijal Kothari
bijal.kothari_at_hi2.com
Hi2 Ltd.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-09-20