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 17:27:41 +0100

On Fri, Mar 14, 2003 at 02:26:07PM +0100, Götz Babin-Ebell wrote:
> >>>
> >>>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 ?
> >
> >No, they are in /usr/include/openssl
>
> But first the headers are searched in /usr/ssl/include...

.. which does not exist.

> >Main part is resolved now:
>
> >While the static libcrypto.a was up to date, there were old versions of
> >libcrypto.so and libssl.so of 0.9.6 hanging around in /usr/lib.
>
> >I removed them, and was able to compile curl with this configuration:
> >
> >CPPFLAGS="-I/usr/include/openssl -I/usr/include" LDFLAGS="-L/usr/lib" \
> >../configure --prefix=/usr --with-ssl=/usr/ssl
> >
> >make completed ok, but warnings like this had been given:
> >
> >gcc -g -O2 -o .libs/lib504 lib504.o first.o -L/usr/lib -L/usr/ssl/lib
> >.../../lib/.libs/libcurl.so -lz -lz -lz -lssl -lcrypto -ldl -lz
> >/usr/i486-suse-linux/bin/ld: warning: libssl.so.0.9.6, needed by
> >.../../lib/.libs/libcurl.so, not found (try using -rpath or -rpath-link)
> >/usr/i486-suse-linux/bin/ld: warning: libcrypto.so.0.9.6, needed by
> >.../../lib/.libs/libcurl.so, not found (try using -rpath or -rpath-link)
> >creating lib504
>
> the curl librarie complained that it was build
> against dynamic OpenSSL libraries.

Out of curiosity: does this mean that curl *needs* *dynamic* openssl libs
(which had not been present in the above case)?

> >I didn't test whether curl was operating, though.
>
> ldd curl
> would help...

Good.

> To keep more than one version of a dynamic library in the library path
> was the reason for the naming shema...
>
> >I guess I have to recompile mutt to let it use 0.9.7.
>
> No need as long as you keep the 0.9.6 libraries around.
> And I belive somewhere in your system are some other programs
> linked against OpenSSL 0.9.6 and requiring the old libraries...

I see.

> Bye
>
> Goetz

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