cURL / Mailing Lists / curl-library / Single Mail

curl-library

problem linking to curl library on AIX 4.3.3

From: Jess Morecroft <jessemor_at_au1.ibm.com>
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:
ftp://aixpdslib.seas.ucla.edu/pub/curl/RISC/4.3/exec/curl.7.10.7.tar.Z

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

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

Thanks
Jess Morecroft

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