cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: AW: LDFLAGS -ld -lc not detected automatically on Solaris x86

From: Petr Pisar <petr.pisar_at_atlas.cz>
Date: Thu, 24 May 2012 08:57:10 +0200

On Thu, May 24, 2012 at 08:45:15AM +0200, Daniel Stenberg wrote:
> On Wed, 23 May 2012, Alexander.Elgert_at_t-systems.com wrote:
>
> >It seems to be the linking step against the libssl.a and
> >libcrypto.a, which is missing the switches -lc and -ldl.
>
> Ah, you're using static OpenSSL libs! When using static libs, you're
> kind of on your own...
>
> We could possibly add more logic to make it more likely to work, but
> it really isn't very easy when it comes to linking with static
> libraries. If anyone have specific suggestions, then I will listen
> to them!
>
Use the hated `pkg-config --static openssl'.

-- Petr

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html

  • application/pgp-signature attachment: stored
Received on 2012-05-24