cURL / Mailing Lists / curl-library / Single Mail

curl-library

Build libcurl on HPUX with static OpenSSL

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

Hi

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
--disable-telnet
>>> end snip <<<

Any tips will really be appreciated.

Renate

-------------------------------------------------------
This SF.net 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
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
Received on 2003-10-21