Re: [COMMITTERS] pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build. - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [COMMITTERS] pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build.
Date
Msg-id CA+TgmoaVV8y-=+BjwgmBX21kM+wEOYrY8N8sLbpGWagBgVcfMQ@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Oct 7, 2016 at 7:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wrote:
>> Robert Haas <robertmhaas@gmail.com> writes:
>>> This broke the build for me.  OS X Yosemite, 10.10.5.
>
>> Hm, probably means we need an explicit reference to -lintl when
>> linking libpqwalreceiver.so.
>
> BTW, OS X hasn't got libintl AFAICT:
>
> # ./configure --enable-nls
> ...
> checking for library containing bind_textdomain_codeset... no
> configure: error: a gettext implementation is required for NLS
>
> What are you using to get past that?

MacPorts.

[rhaas pgsql]$ port contents gettext | grep libintl /opt/local/include/libintl.h /opt/local/lib/libintl.8.dylib
/opt/local/lib/libintl.a/opt/local/lib/libintl.dylib /opt/local/share/gettext/intl/libintl.rc
/opt/local/share/gettext/libintl.jar
[rhaas pgsql]$

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Remove -Wl,-undefined,dynamic_lookup in macOS build.
Next
From: Andres Freund
Date:
Subject: Re: Our "fallback" atomics implementation doesn't actually work