[Pgpool-general] AIX make problem

Tatsuo Ishii ishii at sraoss.co.jp
Wed Oct 12 09:42:14 UTC 2011


> Sorry, should have check the group first for a fix.
> 
> I applied the patch suggested for AIX and it fixes that problem but I get a
> further problem now ...
> 
> libtool: link: gcc -maix64 -g -O2 -Wall -Wmissing-prototypes
> -Wmissing-declarations -o pgpool main.o child.o pool_auth.o pool_config.o
> pool_error.o pool_process_query.o pool_stream.o pool_connection_pool.o
> pool_params.o pool_signal.o pcp_child.o md5.o pool_shmem.o pool_sema.o
> pool_system.o pool_rewrite_query.o pool_rewrite_outfuncs.o pool_query_cache.o
> pool_hba.o pool_path.o pool_ip.o ps_status.o strlcpy.o recovery.o
> pool_relcache.o pool_process_reporting.o pool_ssl.o pool_timestamp.o
> pool_proto2.o pool_proto_modules.o pool_lobj.o pool_process_context.o
> pool_session_context.o pool_query_context.o pool_worker_child.o pool_passwd.o
> pool_globals.o pool_select_walker.o getopt_long.o parser/nodes.o 
> -L/ukmetmon/data/dataCollection/postgres/lib -lpq parser/libsql-parser.a
> pcp/.libs/libpcp.a -lcrypt -lPW -lnsl -lm
> ld: 0711-224 WARNING: Duplicate symbol: .pg_utf_mblen
> ld: 0711-224 WARNING: Duplicate symbol: .unicode_to_utf8
> ld: 0711-224 WARNING: Duplicate symbol: .pg_mule_mblen
> ld: 0711-224 WARNING: Duplicate symbol: .pg_utf8_islegal
> ld: 0711-224 WARNING: Duplicate symbol: .pg_mic_mblen
> ld: 0711-224 WARNING: Duplicate symbol: .pg_encoding_mblen
> ld: 0711-224 WARNING: Duplicate symbol: .pg_encoding_dsplen
> ld: 0711-224 WARNING: Duplicate symbol: .pg_encoding_verifymb
> ld: 0711-224 WARNING: Duplicate symbol: .pg_encoding_max_length
> ld: 0711-224 WARNING: Duplicate symbol: pg_wchar_table
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> ld: 0711-317 ERROR: Undefined symbol: .vsyslog

I'm not familiar with AIX but apparently this is related to the
portability problem of vsyslog which is not available in AIX (and
perhaps HP-UX).  If there's no alternative for vsyslog in AIX, we have
to disable syslog functionality with AIX unless someone comes up with
more portable vsyslog implementation.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp


More information about the Pgpool-general mailing list