On tor, 2012-07-12 at 15:25 +, ch...@chrullrich.net wrote:
> The PostgreSQL configure script indiscriminately enables the --as-needed
> option to the linker if the linker supports it, which GNU ld 2.17.50 in
> FreeBSD 9 does. It does not, however, use it in its own library checks. The
> configu
* Christian Ullrich wrote:
I think I have a pretty good fix: Early in configure, see if the linker
understands --no-copy-dt-needed-entries, or alternatively
--no-add-needed (which is a deprecated name for the same thing). This is
the "light" version of --as-needed: It does not discard unneeded
l
* Tom Lane wrote:
ch...@chrullrich.net writes:
Could we make the problem go away for you if we changed the order in
which these libraries are probed for? That's a hack, surely, but it
seems like one much less likely to break other working cases than any
of the alternatives you suggest.
To
ch...@chrullrich.net writes:
> PostgreSQL 9.1 does not build on FreeBSD 9 if --enable-nls and a Heimdal
> Kerberos build from ports is used. The build fails due to undefined
> references to functions from gettext's libintl.
Ugh.
> Proposed workaround: Do not use --as-needed at all.
Not really ac
The following bug has been logged on the website:
Bug reference: 6732
Logged by: Christian Ullrich
Email address: ch...@chrullrich.net
PostgreSQL version: 9.1.4
Operating system: FreeBSD 9
Description:
PostgreSQL 9.1 does not build on FreeBSD 9 if --enable-nls and a H