cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: recompiling curl to NOT use system openssl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 5 Sep 2008 10:16:11 -0700

On Fri, Sep 05, 2008 at 12:12:12PM -0400, Peter Wilkes wrote:
> im trying to build a custom configuration version of openssl and curl
>
> i am using openssl-0.9.8g and curl 7.18.2

curl 7.19.0 adds a better explanation of compiling with OpenSSL in the
docs/INSTALL file. Since you're compiling from source anyway, you might
as well upgrade.

> my command line to compile openssl and curl is
> cd openssl-0.9.8g
> ./config --prefix=$PWD/../builds/
> make
> make install
> cd ..
> cd curl-7.18.2
> set PKG_CONFIG_PATH=$PWD/../builds/

Is that really where your openssl.pc file lives? You probably want something
like PKG_CONFIG_PATH=$PWD/../builds/lib/pkgconfig instead.

> export PKG_CONFIG_PATH
> ./configure --prefix=$PWD/../builds/ --exec-prefix=$PWD/../builds --
> with-iconv=$PWD/../builds/include/ --without-libssh2 --disable-ldap --
> disable--ldaps --without-ldap --disable-libidn --without-libidn

Try adding "--with-ssl" as well.

>>> Dan

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