cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: zlib and crypto in configure

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 23 Dec 2005 13:01:54 -0800

On Fri, Dec 23, 2005 at 03:51:08PM -0500, Gregory Holden wrote:
> Output from pkg-config:
> -L/devhome/gregory/openssl/lib -lssl -lcrypto -ldl -lz
>
> which is very interesting, as it has the "-lz"

Interesting, and correct by the sounds of it.

> I double checked my PKG_CONFIG_PATH.
> Set the PKG_CONFIG_PATH right onto the openssl pkgconfig directory,
> still the same response, tho.
>
>
> When looking at the configure, it appears
> the pkgconfig is ignored if you set the --with-ssl=some/where/else/
>
> Found this in the change log (which is probably only loosely related):
> Fixed in 7.12.2 - Oct 18 2004
> configure --with-ssl=PATH now ignores pkg-config path info

That makes sense; if you specify an alternate SSL directory, then the
standard pkg-config output won't necessarily apply. The "correct"
way to solve this would be not to use the --with-ssl option but instead
set PKG_CONFIG_PATH to point to your custom SSL installation. That will
make pkg-config give the proper options for your package, which ought to
include a -L flag to point to its nonstandard location plus the -lz flag.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-12-23