httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Edmundsson <>
Subject Re: problem with build on AIX 6.1
Date Wed, 07 Oct 2009 11:03:58 GMT
On Tue, 6 Oct 2009, Michael Felt wrote:

>> I don't have an AIX system at hand at the moment, but last time I build
>> on AIX 6.1 I was astonished, that they used .a as a suffix for shared
>> libs. They have two types of shared libs, depending on when symbol
>> resolution is done.


> btw: I believe AIX documentation says they use .so for shared objects, but 
> also support .a as a shared object archive. And of course, the docs I found 
> are on my other computer - that I cannot access at the moment. As I get 
> further I'll be working on a FAQ for (I am webmaster 
> there, and I am working on this build for that portal.) btw - my other goal 
> is to build a binary distrubtion for AIX and publish it via

AIX uses COFF, and thus behaves differently than most ELF-based unix 
dialects out there.

Default for AIX is to use .a for all kinds of libs IIRC.

.so is used when you have compiled with -brtl to do runtime symbol 
resolution ELF-style (ie, satisfying dependencies of linked-in 
libraries can be done by linking your main binary with the missing 
library). Hmm, "man ld" has some ramblings about dynamic vs shared 
mode too, so see that manpage for the complete picture.

In any case, this hasn't changed between AIX5 and AIX6, so a fresh 
AIX6-aware libtool should be all that's needed.

  Niklas Edmundsson, Admin @ {acc,hpc2n}      |
  Dangerous Job #?:  Klingon Dentist

View raw message