curl-library
Re: Problems linking ssl when cross-compiling curl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 26 Aug 2014 14:28:07 +0200 (CEST)
Date: Tue, 26 Aug 2014 14:28:07 +0200 (CEST)
On Tue, 26 Aug 2014, Anders Palm wrote:
>> /usr/local/ssl and making sure the PKG_CONFIG_PATH variable is set
>> correctly instead (as documented in docs/INSTALL).
>
> This is where it gets hairy. When i supply a path in --with-ssl, it finds
> the pkgconfig paths, when i set PKG_CONFIG_PATH it doesn't find ssl at all.
Probably then because with a static lib it doesn't find everything it needs by
itself and the detection of OpenSSL fails. You probably need to run configure
with LDFLAGS="-ldl" set.
Automatically detecting dependencies for static libs for building is a mess
and it generally needs some hand-holding to get right.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-08-26