[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: install .so library on aix
From: |
Ralf Wildenhues |
Subject: |
Re: install .so library on aix |
Date: |
Mon, 29 Oct 2007 13:54:27 +0100 |
User-agent: |
Mutt/1.5.16 (2007-10-15) |
Hello,
* address@hidden wrote on Mon, Oct 29, 2007 at 01:23:54PM CET:
> Hi,
> I manage to build .so shared library on aix using libtool. But I have
> problem
> with installing it using gmake install. Libtool install two files.
> One is .a and second is .la(wich is actualy the libtool script). I try to
> use
> 1.5.24 and daily snapshot from 2.1a branch. Both version has the same
> behavior.
And the .a file is actually an archive containing a shared library!
This is how AIX traditionally names its libraries, at least the ones
that are not runtimelinked.
> I understand that AIX do not like .so library but is there any way to
> install .so library using libtool and gmake install
If you want runtimelinking (more similar to ELF), build your package
with
./configure LDFLAGS=-Wl,-brtl
and libtool will do what you want. Note runtimelinking carries a
certain performance overhead (dunno how large that typically is).
Hope that helps.
Cheers,
Ralf