cURL / Mailing Lists / curl-library / Single Mail


Re: problem linking to curl library on AIX 4.3.3

From: Dan Fandrich <>
Date: Sat, 25 Oct 2003 21:29:59 -0700

On Fri, Oct 24, 2003 at 09:25:18AM +1000, Jess Morecroft wrote:
> 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
> libcurl.a:
> 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 suspect either the library was corrupted somehow, or there is a mismatch
between the toolset used to generate the library and the one you're using.
It might be that the library was built with the GNU toolchain and you're
using the native OS' compiler (or vice-versa).

> 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
> appreciated.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
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