cURL / Mailing Lists / curl-library / Single Mail


Build libcurl on HPUX with static OpenSSL

From: Renate Bahnemann <>
Date: Tue, 21 Oct 2003 15:22:09 +0100


Is it possible to build LibCurl (7.10.7) as a shared library on HPUX-11
and link in the OpenSSL and zlib libraries statically?

I think I've managed to do it on Linux (RedHat 7.2), Solaris 5.8 and AIX
5.2 but cannot figure out how to configure for HPUX.

On HPUX I am using the native compiler as gcc creates a dependency on a
gcc shared lib and doesn't seem to link in the 2 above libraries either.

Here are my configure settings:

>> snip <<<
export CC=cc
export CPPFLAGS=-I${ZLIBHOME}/include
export LDFLAGS=-L${ZLIBHOME}/lib
./configure --prefix=${DESTINATION} --with-ssl=${SSLHOME}
--with-zlib=${ZLIBHOME} --enable-shared --disable-gopher --disable-ldap
>>> end snip <<<

Any tips will really be appreciated.


This email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
Received on 2003-10-21