cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Cannot build shared library from CURL 7.21.4 on AIX 7.1 with XLC 10

From: Tor Arntsen <tor_at_spacetec.no>
Date: Wed, 6 Apr 2011 08:41:11 +0200

On Tue, Apr 5, 2011 at 19:45, Lin Shen <linshen01_at_gmail.com> wrote:
> Hello all,
>
>   When I build CURL 7.21.4 on AIX 7.1 with XLC 10, the shared
> library cannot be built. When I googled it, I found your “Re: PATCH:
> shared library version”.
>
> Here is the details:
>
> Curl version:   7.21.4
> OS:             AIX 7.1
> Compiler:       XLC/C++ 10
> Make:           gmake 3.8.1
>
> I tried  the following configures; but no one could build the shared libraries.
>
>               configure --prefix=/tooldev/manhattan64/libcurl/7.21.4
> --enable-debug CC=xlC CFLAGS=-q64
> --with-ssl=/tooldev/manhattan64/openssl/1.0.0d
> --with-zlib=/tooldev/manhattan64/zlib/1.2.5 CPPFLAGS=-q64
>
>               configure --prefix=/tooldev/manhattan64/libcurl/7.21.4
> --enable-shared=yes --enable-debug CC=xlC CFLAGS=-q64
> --with-ssl=/tooldev/manhattan64/openssl/1.0.0d
> --with-zlib=/tooldev/manhattan64/zlib/1.2.5 CPPFLAGS=-q64
[..]

I run a similar setup, but on AIX 6.1.
I also use XLC 10 though (specifically: 10.1)
Another difference is that I use autoconf 2.59, not 2.67. And I set
LDFLAGS=-b64.
(http://curl.haxx.se/dev/log.cgi?id=20110406055245-22960)
So it looks like it might be an issue either with -b64 for LD, or the
version of autoconf.

-Tor

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-06