cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1325 `curl-config --libs` includes -lrtmp (and others) not needed for dynamic linking

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Mon, 05 May 2014 07:50:15 +0000

- **status**: pending --> closed-invalid

---
** [bugs:#1325] `curl-config --libs` includes -lrtmp (and others) not needed for dynamic linking**
**Status:** closed-invalid
**Created:** Mon Jan 13, 2014 03:34 PM UTC by Anthony G. Basile
**Last Updated:** Sun Apr 13, 2014 10:44 PM UTC
**Owner:** Daniel Stenberg
When curl is built with rtmp support, `curl-config --libs` give -lrtmp for the linker line when dynamically linking.  But this is wrong, it is only needed when statically linking.  The problem extends to other libraries as well, eg -lgnutls.  In fact, libcurl.pc has it correct:
Libs: -L${libdir} -lcurl
Libs.private: -lrtmp -lz -lgnutls -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -llber -lldap -lz
and yet
curl-config --libs gives
-lcurl -lrtmp -lz -lgnutls -lssl3 -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -llber -lldap -lz
This was hit on a Gentoo system.  The downstream report is at 
https://bugs.gentoo.org/show_bug.cgi?id=497956
by Nikoli <nikoli_at_gmx.us>.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-05-05

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET