cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: configure: error: OpenSSL libs and/or directories were not found where specified!

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 2 Jun 2008 15:32:10 -0700

On Mon, Jun 02, 2008 at 02:37:11PM -0700, Weston C wrote:
> This makes sense, and I'm convinced to try it, but I still see some issues
> building against a shared openssl:
>
> make all-am
> make[2]: Entering directory `/usr/local/src/curl-7.18.1/src'
> /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2
> -L/usr/local/ssl/lib -o curl main.o hugehelp.o
> urlglob.o writeout.o writeenv.o getpass.o homedir.o
> curlutil.o strtoofft.o strdup.o ../lib/libcurl.la -lz
> gcc -g -O2 -o .libs/curl main.o hugehelp.o urlglob.o writeout.o
> writeenv.o getpass.o homedir.o curlutil.o strtoofft.o
> strdup.o -L/usr/local/ssl/lib ../lib/.libs/libcurl.so -lz
> -Wl,--rpath -Wl,/usr/local/curl/lib
> /usr/bin/ld: warning: libssl.so.0.9.8, needed by
> ../lib/.libs/libcurl.so, not found (try using -rpath or
> -rpath-link)

Is there actually a libssl.so.0.9.8 file in /usr/local/ssl/lib? I'm not
sure if this warning is due to a missing file or a missing entry in
/etc/ld.so.conf, but it's probably one of the two.

> What indicates which line is the link line?

It's the one like the one above, with --mode=link on it (which gets
converted into the line beginning "gcc ...").

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-03