Search Postgresql Archives

Re: Building Pg 8.2.4 on AIX 5.3 doesn't produce shared libs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux