cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 May 2012 08:45:15 +0200 (CEST)

On Wed, 23 May 2012, Alexander.Elgert_at_t-systems.com wrote:

> There was a warning in the configure:
> =================
> checking if libraries can be versioned... no
> configure: WARNING: ***
> *** You need an ld version supporting the --version-script option.

That's fixed in git already.

> 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!

> Please tell me, in more detail, what to do in the case for the parse error.
> It is a really weird union with some ifdefs ...
>
> /usr/include/netinet/ip.h is attached

I was hoping _you_ would tell us what to do as I don't have that problem and I
don't have any such system to check this out myself...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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
Received on 2012-05-24