cURL / Mailing Lists / curl-library / Single Mail


curl-config --libs linker flags

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


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.


---------- Forwarded message ----------
From: Niko Tyni <>
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
To: Christian von Kietzell <>,

severity 578774 serious

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
List admin:
Received on 2010-04-28