Hi, I'm having trouble building pgpool 3.0.3 on AIX.
Here's the sequence of commands after untar'ing it ... export OBJECT_MODE=64 CC='gcc -maix64' ./configure --prefix=/opt/serviceMonitoring/pgpool make ... snipped ... bin/sh ../libtool --tag=CC --mode=link gcc -maix64 -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o libpcp.la -rpath /opt/serviceMonitoring/pgpool/lib pcp.lo pcp_stream.lo pcp_error.lo md5.lo -lcrypt -lPW -lnsl -lm libtool: link: ar cru .libs/libpcp.a pcp.o pcp_stream.o pcp_error.o md5.o libtool: link: ranlib .libs/libpcp.a libtool: link: ( cd ".libs" && rm -f "libpcp.la" && ln -s "../libpcp.la" "libpcp.la" ) gcc -maix64 -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -I .. -I /ukmetmon/data/dataCollection/postgres/include -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -MT pcp_stop_pgpool.o -MD -MP -MF .deps/pcp_stop_pgpool.Tpo -c -o pcp_stop_pgpool.o pcp_stop_pgpool.c mv -f .deps/pcp_stop_pgpool.Tpo .deps/pcp_stop_pgpool.Po /bin/sh ../libtool --tag=CC --mode=link gcc -maix64 -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o pcp_stop_pgpool pcp_stop_pgpool.o libpcp.la -lcrypt -lPW -lnsl -lm libtool: link: gcc -maix64 -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -o pcp_stop_pgpool pcp_stop_pgpool.o ./.libs/libpcp.a -lcrypt -lPW -lnsl -lm ld: 0711-317 ERROR: Undefined symbol: .getopt_long ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. collect2: ld returned 8 exit status make[2]: *** [pcp_stop_pgpool] Error 1 make[2]: Leaving directory `/home/collect/build/pgpool-II-3.0.3/pcp' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/collect/build/pgpool-II-3.0.3' make: *** [all] Error 2 ... I can see that there is a bundled version of the getopt_long source but I'm not clear on how to get the make to pick it up. Anyone have any ideas ? Matthew _______________________________________________ Pgpool-general mailing list [email protected] http://pgfoundry.org/mailman/listinfo/pgpool-general
