cURL / Mailing Lists / curl-library / Single Mail


problem linking to curl library on AIX 4.3.3

From: Jess Morecroft <>
Date: Fri, 24 Oct 2003 09:25:18 +1000

Hi all,

I'm having a problem linking my library to libcurl on AIX and am wondering
if anyone can help.

I obtained the prebuilt library from the following link, referred to by the
curl downloads page:

The OS level of the AIX box I'm building on is (from running "oslevel")

I keep getting the following error when I attempt to link my library to
munch: Cannot open input file lib/rios_aix_4/libcurl.a
/usr/ibmcxx/bin/makeC++SharedLib_r: 1543-303 Error during munch phase

If I run /usr/sbin/dump on libcurl.a, I get this:
> dump -t libcurl.a
dump: libcurl.a: dump: 0654-105 The file is not in a recognized format.
        Specify an executable file, object file, or archive file.

I get a similar error message with /usr/ccs/bin/nm:
> nm libcurl.a
nm: libcurl.a: 0654-203 Specify an XCOFF object module.

So it would appear that the libcurl.a library I am using is not being
recognised as such, for what reason I have no idea. Interestingly, the curl
binary that also comes with the zipped tar runs fine on my AIX build box.
It's just the library that I'm having troubles with.

Hopefully I'm missing something obvious here. Any help would be very much

Jess Morecroft

This email is sponsored by: The Donation Program.
Do you like what is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here:
Received on 2003-10-26