Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries ) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )
Date
Msg-id 25723.1158333875@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )  ("Albe Laurenz" <all@adv.magwien.gv.at>)
List pgsql-hackers
"Albe Laurenz" <all@adv.magwien.gv.at> writes:
> Up to now you have built against the static libpq.a
> I didn't add the right -blibpath to this patch that
> failed for you - the broken initdb is dynamically linked
> but does not know where to look for its shared library.

> The patch I just submitted to pgsql-patches should take
> care of that. It makes the executables look in --libdir.

Mmm ... what of "make check"'s temporary installation?  We need
to have the executables search in the temporary install's libdir,
*before* looking in the configured --libdir (which could easily
contain an incompatible back-version libpq ...)

pg_regress normally tries to handle this by setting LD_LIBRARY_PATH
... does AIX use that or a similar symbol?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Andrew - Supernews
Date:
Subject: Re: New version of money type
Next
From: "Rocco Altier"
Date:
Subject: Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )