cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

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

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Tue, 13 Dec 2005 05:57:05 -0800

Bugs item #1379512, was opened at 2005-12-13 05:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1379512&group_id=976

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: Open
Resolution: None
Priority: 5
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
curl-config.

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

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1379512&group_id=976
Received on 2005-12-13

These mail archives are generated by hypermail.

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

File upload with ASP.NET