pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
Date: Wed, 26 Sep 2018 20:04:39 +0200
Message-ID: <f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com> (raw)
In-Reply-To: <E1g5CnD-0004v1-Rc@gemulon.postgresql.org>
References: <E1g5CnD-0004v1-Rc@gemulon.postgresql.org>

On 26/09/2018 18:36, Tom Lane wrote:
> Incorporate strerror_r() into src/port/snprintf.c, too.
> 
> This provides the features that used to exist in useful_strerror()
> for users of strerror_r(), too.  Also, standardize on the GNU convention
> that strerror_r returns a char pointer that may not be NULL.

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.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (5+ messages)  latest in thread

Message-ID: <f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com>
Permalink:  ../f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com/
Also on:    postgresql.org/message-id/f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com

 · 

reply

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: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Incorporate strerror_r() into src/port/snprintf.c, too.
  In-Reply-To: <f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com>
  References: <E1g5CnD-0004v1-Rc@gemulon.postgresql.org> <f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com>

* 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