Thread: pgsql: AIX: Link TRANSFORM modules with their dependencies.

pgsql: AIX: Link TRANSFORM modules with their dependencies.

From
Noah Misch
Date:
AIX: Link TRANSFORM modules with their dependencies.

The result closely resembles linking of these modules for the "win32"
port.  Augment the $(exports_file) header so the file is also usable as
an import file.  Unfortunately, relocating an AIX installation will now
require adding $(pkglibdir) to LD_LIBRARY_PATH.  Back-patch to 9.5,
where the modules were introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7193436744819270eeb772f6ada4ec7a388c0b5f

Modified Files
--------------
contrib/hstore_plperl/Makefile   |    7 ++++++-
contrib/hstore_plpython/Makefile |    7 ++++++-
contrib/ltree_plpython/Makefile  |    7 ++++++-
src/Makefile.shlib               |    3 ++-
4 files changed, 20 insertions(+), 4 deletions(-)


Re: pgsql: AIX: Link TRANSFORM modules with their dependencies.

From
Tom Lane
Date:
Noah Misch <noah@leadboat.com> writes:
> AIX: Link TRANSFORM modules with their dependencies.

> ...  Unfortunately, relocating an AIX installation will now
> require adding $(pkglibdir) to LD_LIBRARY_PATH.

Hm, would it be appropriate to mention this in the user-facing
documentation (and I don't mean just in the release notes)?
Not entirely sure where it should be addressed, though.

            regards, tom lane


Re: pgsql: AIX: Link TRANSFORM modules with their dependencies.

From
Noah Misch
Date:
On Wed, Jul 15, 2015 at 11:32:09PM -0400, Tom Lane wrote:
> Noah Misch <noah@leadboat.com> writes:
> > AIX: Link TRANSFORM modules with their dependencies.
>
> > ...  Unfortunately, relocating an AIX installation will now
> > require adding $(pkglibdir) to LD_LIBRARY_PATH.
>
> Hm, would it be appropriate to mention this in the user-facing
> documentation (and I don't mean just in the release notes)?
> Not entirely sure where it should be addressed, though.

Hmm.  Blameless to mention it.  On the other hand, an error message about not
finding plpython2.so is likely enough to set the user on the right track.
installation.sgml is terse about relocating binaries, which seems reasonable.