Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1379512 ] curl-config --libs returns -s

From: <>
Date: Thu, 22 Dec 2005 00:33:47 -0800

Bugs item #1379512, was opened at 2005-12-13 14:57
Message generated for change (Comment added) made by bagder
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: compile or build problem
Group: bad behaviour
>Status: Closed
>Resolution: Later
Priority: 4
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: curl-config --libs returns -s

Initial Comment:
The problem is simple:

In our makefile we use `curl-config --libs` to get hold
of all dependencies required by libcurl at link time.
We noticed however that our debug builds were stripped
for no good reason, and after a few hours of debugging
we discovered that curl-config was the culprit. it puts
a "-s" in its output, effectively stripping our
executable as well.

This bug is probably due to the fact that we tweaked
global build parameters for our gentoo. This should
still not have "leaked down" into the output of

Optimal solution: fix leakage, possibly together with
gentoo packager, and move to pkg-config instead :):)

Our important stats:

# curl-config --libs
-L/usr/lib -lcurl -Wl,-O1 -Wl,--enable-new-dtags -Wl,
--sort-common -s -L/usr/lib -lssl -lcrypto -ldl -lz

# uname -a
Linux localhost 2.6.14-gentoo-r2 #7 SMP Tue Dec 6 15:
40:30 CET 2005 i686 AMD Opteron(tm) Processor 252
AuthenticAMD GNU/Linux

# curl-config --version
libcurl 7.15.0


>Comment By: Daniel Stenberg (bagder)
Date: 2005-12-22 09:33

Logged In: YES

This is now closed and this bug is mentioned as known bug #31.
To be fixed "later".


Comment By: Daniel Stenberg (bagder)
Date: 2005-12-13 15:02

Logged In: YES

Unfortunately, this problem is known while not easily to fix
without breaking old behaviour. But I guess doing it right
might be reason enough to reconsider old habits...

Still, no one has done any proper fix and while perhaps
pkg-config should be used I'm pretty sure we have the same
problem in that file as well since it is generated basically
the same way.

I wouldn't mind working with the gentoo packager, (s)he is
more than welcome to join in and help us improve curl.


You can respond by visiting:
Received on 2005-12-22

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET