cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: static linking SSL with libcurl for PowerPC

From: Ganesh Ragavan <ganeshragavan_at_gmail.com>
Date: Thu, 29 Nov 2007 15:30:55 -0800

Thanks Dan. Could you please explain in bit detail about "Or, maybe just
temporarily move the dynamic libssl.so out of the way during
the build."?

If I point to libssl.a somewhere in the build, would it build ssl statically
with libcurl. Could you pls explain where exactly I could specify this?

Because when I included -static option in LDFLAGS, it built everything
statically including libc.

Ganesh --

On Nov 29, 2007 3:14 PM, Dan Fandrich <dan_at_coneharvesters.com> wrote:

> On Thu, Nov 29, 2007 at 02:36:03PM -0800, Ganesh Ragavan wrote:
> > 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.so.4.0.1 (libcurl shared
> library)
> > 3. dynamic linking of libcrypto
>
> This is a pretty specific requirement and I doubt you could coax curl to
> build it this way on its own. The easiest way is probably to create your
> own pkg-config .pc file for OpenSSL with the link flags you want and point
> curl's configure to it by setting the PKG_CONFIG_PATH environment
> variable.
> Or, maybe just temporarily move the dynamic libssl.so out of the way
> during
> the build.
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com <http://www.moveannouncer.com/>
> The web change of address service
> Let webmasters know that your web site has moved
>
Received on 2007-11-30