curl-library
Re: recompiling curl to NOT use system openssl
Date: Fri, 5 Sep 2008 13:43:12 -0400
On Sep 5, 2008, at 1:16 PM, Dan Fandrich wrote:
> 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.
tried this. configure says it cant find openssl. however if i make it
$PWD/../openssl-0.9.8g/ it works but still links against the system
libs.
>
>> 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.
added. thank you. doesnt seem to effect weather it links with system
libs though.
>
>>>> 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