From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
Date: Wed, 26 Sep 2018 16:28:52 -0400
Message-ID: <11161.1537993732@sss.pgh.pa.us> (raw)
In-Reply-To: <f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com>
References: <E1g5CnD-0004v1-Rc@gemulon.postgresql.org>
<f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com>
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> Somehow, this is not working for me:
> Undefined symbols for architecture x86_64:
> "_libintl_gettext", referenced from:
> _pg_strerror_r in strerror.o
> ld: symbol(s) not found for architecture x86_64
> collect2: error: ld returned 1 exit status
> make[4]: *** [../../../../src/Makefile.shlib:303: libpgtypes.3.12.dylib]
> Error 1
> It works if I don't use --enable-nls.
More context please? I'm guessing this is on macOS? Where did you get
libintl from? Is it, as it looks, getting through libpq and failing in
ecpg?
My first bet would be that ecpg for some reason lacks needed NLS
infrastructure ... have we ever tried to internationalize it?
Right now might not be the best time to try --- perhaps the path
of least resistance is to defeat strerror.c's NLS support when
it's being compiled in ecpg.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
Subject: Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
In-Reply-To: <11161.1537993732@sss.pgh.pa.us>
References: <E1g5CnD-0004v1-Rc@gemulon.postgresql.org> <f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com> <11161.1537993732@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox