cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl-config --libs linker flags

From: Ramakrishnan Muthukrishnan <rkrishnan_at_debian.org>
Date: Wed, 28 Apr 2010 09:31:31 +0530

Hi,

Recently a bug was opened in the Debian. The issue is that the 7.20.1
broke some of the other packages which used curl-config --libs. I
would like to get some comments from the curl developers and how to
resolve this problem. The bug report is shown below.

Thanks
Ramakrishnan

---------- Forwarded message ----------
From: Niko Tyni <ntyni_at_debian.org>
Date: Tue, Apr 27, 2010 at 4:08 PM
Subject: Bug#578774: libcurl4-gnutls-dev: curl-config --libs returns
-Wl, -z, defs breaking builds of shared libraries linking against
libcurl
To: Christian von Kietzell <cuboci_at_gmail.com>, 578774_at_bugs.debian.org

severity 578774 serious
thanks

On Thu, Apr 22, 2010 at 06:14:53PM +0200, Christian von Kietzell wrote:
> Package: libcurl4-gnutls-dev
> Version: 7.20.1-1
> Severity: important
> Tags: sid
>
> curl-config --libs returns "-lcurl -Wl,-z,defs" instead of just "-lcurl". That
> linker flag breaks a build of a shared library of mine which naturally has
> undefined symbols as it is dynamically loaded by another programme and uses
> symbols of that programme.

This is breaking  at least collectd (see #578819) and claws-mail-extra-plugins.
Raising the severity to prevent accidental testing transition until the
maintainer comments.

--
Niko Tyni   ntyni_at_debian.org
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-28