Re: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs? - Mailing list pgsql-general

From Albe Laurenz
Subject Re: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs?
Date
Msg-id AFCCBB403D7E7A4581E48F20AF3E5DB2029C1F0B@EXADV1.host.magwien.gv.at
Whole thread Raw
In response to Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs?  (Sic Transit Gloria Mundi <sitrglmu@yahoo.com>)
List pgsql-general
> Sic Transit Gloria Mundi writes:
>> I would like to use Perl, DBI, and DBD::Pg on AIX.  As I
>> understand it, I need a shared lib version of the client libs
>> for this.
>>
>> When building on AIX5.3 ML04 (powerpc_power5, 64 bit), it
>> seems only the static libraries are built.  This seems true
>> with either xlc (8.x) or gcc (3.3.2).  Everything works,
>> there are just no ./lib/*.so at the end of the process.
>
> IIRC, on AIX the .a files actually are shared libraries.  You don't
need
> anything named .so.  Check the -hackers and -patches archives from
back
> around mid-Sept 2006 for details.

Correct. libpq.a IS the shared library.
Run 'ar -t libpq.a' to see the shared object therein.

Try to run 'ldd psql', the output should contain 'libpq.a(libpq.so)'
if it is dynamically linked.

Yours,
Laurenz Albe

pgsql-general by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Spliting a string in plpgsql
Next
From: "Ashish Karalkar"
Date:
Subject: Re: Views- Advantages and Disadvantages