Alvaro, This is indeed the same problem; my apologies for posting a duplicate.
I've checked on two AIXv7.1 servers, one using an xlCv11 runtime, the other using an xlCv12 runtime. On the v11 neither mbstowcs_l nor wcstombs_l are defined. On the v12, both are. So to answer the question posed on the archive link you provided, the assumption made by your configure script appears to be valid. This points to there being a problem in the way the presence of these APIs is detected in the configure script. I built postgres on the V11 platform when I posted my bug report. I'll have a go on the V12 to ensure that this error goes away. Thanks for your reply, Jez On 25 Jul 2012, at 18:17, Alvaro Herrera wrote: > > Excerpts from jez.wain's message of mié jul 25 05:49:35 -0400 2012: > >> 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 had been reported some time ago, see bug #6585: > http://archives.postgresql.org/message-id/e1sinxs-0001zy...@wrigleys.postgresql.org > > -- > Álvaro Herrera <alvhe...@commandprompt.com> > The PostgreSQL Company - Command Prompt, Inc. > PostgreSQL Replication, Consulting, Custom Development, 24x7 support -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs