cURL / Mailing Lists / curl-library / Single Mail


static linking SSL with libcurl for PowerPC

From: Ganesh Ragavan <>
Date: Thu, 29 Nov 2007 14:36:03 -0800

I am trying to build libcurl shared and static library for a PowerPC
architecture with the following requirments:

1. enable SSL
2. static linking of openSSL with (libcurl shared library)
3. dynamic linking of libcrypto

./configure --target=powerpc-hardhat-linux --host=powerpc-hardhat-linux
--build=i586-pc-linux-gnu --with-random=/dev/urandom --with-ssl CFLAGS='-Os'
LDFLAGS='-Wl,-Bsymbolic -Wl,-s'

When I try the above command, it is building the with
openssl dynamically linked.

So when I do "objdump -p", I see

Dynamic Section:

 whereas I would like to see

Dynamic Section:

If someone could point me out how I could achieve this, I would much
appreciate it. I am using curl-7.17.1.

Received on 2007-11-29