curl-library
Re: Compiling curl for HP-UX 11.23 64bit
Date: Fri, 21 Jan 2011 13:50:09 -0800
On Fri, Jan 21, 2011 at 06:13:39PM +0100, Federico Cozzi wrote:
> I need to migrate an old libcurl-based program from HP-UX 11.11 32-bit to HP-UX
> 11.23 64-bit, both PA-RISC. The program was based on libcurl 7.16.2 which was
> compiled statically.
>
> I recompiled libcurl-7.16.2 from the old source on the new machine (configure;
> make; make install) and it worked fine. However, when I recompile the program,
> I get:
> ld: Mismatched ABI (not an ELF file) for -lcurl
> This is the library I am trying to link against:
> -->file libcurl.sl.4.0
> libcurl.sl.4.0: PA-RISC2.0 shared library -not stripped
> Is it compiled for 64bit? How can I recompile it for 64bit? (this is a shared
> library. Can I compile a static 64-bit library on HP-UX?)
This sounds like a HP-UX specific problem of some sort, and I'm not aware of
any HP-UX developers that hang out here. It does look like the app and
libcurl were compiled with different options or a different compiler, though.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-01-21