From: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> |
---|---|
To: | "Tom Lane *EXTERN*" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Sic Transit Gloria Mundi" <sitrglmu(at)yahoo(dot)com> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs? |
Date: | 2007-05-09 06:47:47 |
Message-ID: | AFCCBB403D7E7A4581E48F20AF3E5DB2029C1F0B@EXADV1.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Ashish Karalkar | 2007-05-09 07:16:35 | Re: Views- Advantages and Disadvantages |
Previous Message | Albe Laurenz | 2007-05-09 06:42:59 | Re: Spliting a string in plpgsql |