cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-7.29.0: 'curl' executable fails to link against custom-built OpenSSL

From: Tor Arntsen <tor_at_spacetec.no>
Date: Mon, 4 Mar 2013 17:21:05 +0100

On Mon, Mar 4, 2013 at 4:34 PM, Jeroen De Ridder
<voetsjoeba+curl_at_gmail.com> wrote:

> curl_LDADD = $(top_builddir)/lib/libcurl.la -lz -lrt
> #curl_LDADD = $(top_builddir)/lib/libcurl.la -lidn -lssl -lcrypto
> -lssl -lcrypto -lz -lrt
>
> So evidently at one point the -lssl -lcrypto flags were there, but
> they were commented out and removed. What happened? How come they
> aren't in there anymore?

That's presumably because the libcurl.la file includes something like
this (taken from a recent libcurl build I did):

..
 # Libraries that this one depends upon.
 dependency_libs=' -lidn -lrtmp -lssh2 -lssl -lcrypto -lldap -lz -lrt'
..
which should make the linker load those additional libraries automatically.

-Tor

CONFIDENTIALITY
This e-mail and any attachment contain KONGSBERG information which may be
proprietary, confidential or subject to export regulations, and is only meant
for the intended recipient(s). Any disclosure, copying, distribution or use is
prohibited, if not otherwise explicitly agreed with KONGSBERG. If received in
error, please delete it immediately from your system and notify the sender
properly.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-04