Mailing Lists
|
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: Dan Fandrich <dfandrich_at_users.sf.net>
Date: Mon, 13 Jan 2014 20:46:57 +0000
curl-config should only list the full set of libraries if libtool indicates that the target system requires that. What is the output of:
libtool --config | grep link_all_deplibs
on this system? If it's anything other than "link_all_deplibs=no" then curl is doing the right thing, according to libtool.
--- ** [bugs:#1325] `curl-config --libs` includes -lrtmp (and others) not needed for dynamic linking** **Status:** open **Created:** Mon Jan 13, 2014 03:34 PM UTC by Anthony G. Basile **Last Updated:** Mon Jan 13, 2014 03:37 PM UTC **Owner:** nobody 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-01-13 These mail archives are generated by hypermail. |
Page updated December 29, 2013.
web site info