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

From Albe Laurenz
Subject Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )
Date
Msg-id 52EF20B2E3209443BC37736D00C3C1380A592D03@EXADV1.host.magwien.gv.at
Whole thread Raw
Responses Re: [PATCHES] Linking on AIX (Was: Fix linking of OpenLDAP libraries )  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> The patch did not work for me :-(
>
> My buildfarm members failed in local testing to execute the
> install-check, because initdb failed to find libpq.so.
>
> Make check did succeed, so I think there is a possibility of
> getting it
> working, but it won't be as simple as adding -brtl to the template.

I suspect that up to now the buildfarm had a static build of
PostgreSQL. What is the output of 'ldd initdb' when it builds
and runs correctly?

Is libpq.so in a non-standard directory? If yes, one either
has to export LIBPATH in the environment or link with
-L/location/of/libpq for the executable to find it
(similar to RPATH in Linux).

Yours,
Laurenz Albe



pgsql-hackers by date:

Previous
From: "Rocco Altier"
Date:
Subject: Re: [PATCHES] Fix linking of OpenLDAP libraries
Next
From: Tom Lane
Date:
Subject: Re: Inconsistency in extended-query-protocol logging