From: jez.wain@bull.net
To: pgsql-bugs@postgresql.org
Subject: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
Date: Wed, 25 Jul 2012 09:49:35 +0000
Message-ID: <E1StyDn-0004Nd-F3@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6758
Logged by: jez wain
Email address: jez.wain@bull.net
PostgreSQL version: 9.1.4
Operating system: AIX 7.1
Description:
Building Postgresql on AIX7.1 with IBM's xlc compiler I got an undefined
symbol error on the link phase for the 'postgres' binary:
ld: 0711-317 ERROR: Undefined symbol: .mbstowcs_l
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
AIX7 supports the mbstowcs API but not mbstowcs_l. In
src/include/pg_config.h I commented out the define for HAVE_WCSTOMBS_L 1,
recompiled src/backend/utils/adt/pg_locale.c and the build completed
successfully.
This indicates that the ./configure script does not correctly detect the
absence of the locale specific wide-character/multi-byte API's (xxxx_l), on
AIX (near line 18945)
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-bugs@postgresql.org
Cc: jez.wain@bull.net
Subject: Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1
In-Reply-To: <E1StyDn-0004Nd-F3@wrigleys.postgresql.org>
References: <E1StyDn-0004Nd-F3@wrigleys.postgresql.org>
* 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