Re: AIX shared libraries

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at>
Cc: RoccoA(at)Routescape(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AIX shared libraries
Date: 2006-09-14 14:46:41
Message-ID: 29161.1158245201@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> writes:
> Tom Lane wrote:
>> Hm. The objection I see to this is that it will not support
>> concurrent installation of multiple libpq versions. What about
>>
>> 4) Build and install only libXX.so.n, don't install libXX.a at all

> Won't work - the linker looks for libXX.so and won't find
> libXX.so.n. If you create a symbolic link
> libXX.so --> libXX.so.n, you can link, but the executable will
> depend on libXX.so and not on libXX.so.n.

Ugh. So given that linker behavior, it's basically impossible to
support multiple libpq versions in the same directory anyway on AIX.

I concur with your 3a) then. Do you have time to do that now?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2006-09-14 14:59:07 Re: New version of money type
Previous Message Tom Lane 2006-09-14 14:43:19 Re: CSStorm occurred again by postgreSQL8.2