cURL / Mailing Lists / curl-library / Single Mail


Re: [Survey] What people want us to do next

From: Alessandro Ghedini <>
Date: Mon, 16 Jun 2014 22:58:05 +0200

On lun, giu 16, 2014 at 10:35:51 +0200, Kamil Dudka wrote:
> > A while ago I made the Debian libcurl dev packages (those shipping the
> > header files) support multi-arch (i.e. the possibility of installing the
> > same package from multiple architecture at the same time). This didn't
> > quite work as expected partly because of the above reason.
> >
> > I'm planning to move the libcurl headers from /usr/include to
> > /usr/include/<gnu_triplet> but if this could be solved on the libcurl side
> > it'd be better I guess.
> >
> > Another problem I've encountered is that curl-config changes based on the
> > architecture it was built on because it embeds the libdir paths (which on
> > Debian change from arch to arch because of multi-arch). The --configure
> > option is also different. Not sure how this could be fixed though.
> You can redirect 'curl-config --configure' to pkg-config as we do on Fedora:

The problem is that, at least on Debian, pkg-config isn't multi-arch itself,
which means that since the -dev packages would depend on it, it would change

The alternative would be to use a Debian-specific way to get the "current"
architecture gnu triplet from the curl-config script instead of hard-condig it,
but I haven't tried that yet.


List admin:

Received on 2014-06-16