[Pgpool-general] cont. configure: error: libpq is not installed or libpq is old

gurkan at resolution.com gurkan at resolution.com
Mon Oct 2 22:53:58 UTC 2006


Hi,
I have some updates regarding my previous message.
I had posted similar message to enterprisedb forums, and they were able to
installed/configured pgpool-II on FC5-32bit.

And, I am running as server FC5-64 bit with 32bit version of enterprisedb, and
cannot install pgppol-II
Is there any way to install/configure it?

I have try to install pgpool-II on my host which is not a 64bit (FC2or3--32bit),
at first it gave me same error and
I try with ./configure --with-pgsql=/opt/EnterpriseDB/8.1.4.17/dbserver, it
installed fine
but make gives the message below. What I am missing?
thanks for help,
-----------------------------------------
[root at gurkan pgpool-II-1.0.1]# make
make  all-recursive
make[1]: Entering directory `/tmp/pgpool-II-1.0.1'
Making all in parser
make[2]: Entering directory `/tmp/pgpool-II-1.0.1/parser'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -Wmissing-prototypes
-Wmissing-declarations -D_GNU_SOURCE -I .. -I
/opt/EnterpriseDB/8.1.4.17/dbserver/include   -O3 -mcpu=pentium4 -mar
ch=pentium4 -mmmx -msse -msse2 -mfpmath=sse -MT gram.o -MD -MP -MF
".deps/gram.Tpo" -c -o gram.o gram.c; \
then mv -f ".deps/gram.Tpo" ".deps/gram.Po"; else rm -f ".deps/gram.Tpo"; exit 1; fi
scan.l:86: warning: 'pg_err_position' declared `static' but never defined
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -Wmissing-prototypes
-Wmissing-declarations -D_GNU_SOURCE -I .. -I
/opt/EnterpriseDB/8.1.4.17/dbserver/include   -O3 -mcpu=pentium4 -mar
ch=pentium4 -mmmx -msse -msse2 -mfpmath=sse -MT list.o -MD -MP -MF
".deps/list.Tpo" -c -o list.o list.c; \
then mv -f ".deps/list.Tpo" ".deps/list.Po"; else rm -f ".deps/list.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -Wmissing-prototypes
-Wmissing-declarations -D_GNU_SOURCE -I .. -I
/opt/EnterpriseDB/8.1.4.17/dbserver/include   -O3 -mcpu=pentium4 -mar
ch=pentium4 -mmmx -msse -msse2 -mfpmath=sse -MT makefuncs.o -MD -MP -MF
".deps/makefuncs.Tpo" -c -o makefuncs.o makefuncs.c; \
then mv -f ".deps/makefuncs.Tpo" ".deps/makefuncs.Po"; else rm -f
".deps/makefuncs.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -Wmissing-prototypes
-Wmissing-declarations -D_GNU_SOURCE -I .. -I
/opt/EnterpriseDB/8.1.4.17/dbserver/include   -O3 -mcpu=pentium4 -mar
ch=pentium4 -mmmx -msse -msse2 -mfpmath=sse -MT nodes.o -MD -MP -MF
".deps/nodes.Tpo" -c -o nodes.o nodes.c; \
then mv -f ".deps/nodes.Tpo" ".deps/nodes.Po"; else rm -f ".deps/nodes.Tpo";
exit 1; fi

...
...
...

if gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIGDIR=\"/usr/local/etc\" -I. -I. -I.  -Wall
-Wmissing-prototypes -Wmissing-declarations -D_GNU_SOURCE -I
/opt/EnterpriseDB/8.1.4.17/dbserver/i nclude   -O3 -mcpu=pentium4
-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -MT pool_query_cache.o -MD -MP
-MF ".deps/pool_query_cache.Tpo" -c -o pool_query_cache.o pool_query_cac he.c; \
then mv -f ".deps/pool_query_cache.Tpo" ".deps/pool_query_cache.Po"; else rm -f
".deps/pool_query_cache.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link gcc  -O3 -mcpu=pentium4 -march=pentium4 -mmmx
-msse -msse2 -mfpmath=sse   -o pgpool -lpq
-Wl,-L,/opt/EnterpriseDB/8.1.4.17/dbserver/lib -Wl,-rpath,/o
pt/EnterpriseDB/8.1.4.17/dbserver/lib 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 p cp_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
parser/libsql-parser.a pcp/libpcp.la -lresolv -lnsl -lm
mkdir .libs
gcc -O3 -mcpu=pentium4 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -o
.libs/pgpool -Wl,-L -Wl,/opt/EnterpriseDB/8.1.4.17/dbserver/lib -Wl,-rpath
-Wl,/opt/EnterpriseDB/8.1.4.17 /dbserver/lib 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_sh
mem.o pool_sema.o pool_system.o pool_rewrite_query.o pool_rewrite_outfuncs.o
pool_query_cache.o  -lpq parser/libsql-parser.a pcp/.libs/libpcp.so -lresolv
-lnsl -lm -Wl,--rpath -Wl ,/usr/local/lib
pool_system.o(.text+0xcec): In function `pool_get_id':
: undefined reference to `PQprepare'
pool_query_cache.o(.text+0x103a): In function `pool_query_cache_register':
: undefined reference to `PQprepare'
collect2: ld returned 1 exit status
make[2]: *** [pgpool] Error 1
make[2]: Leaving directory `/tmp/pgpool-II-1.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/pgpool-II-1.0.1'
make: *** [all] Error 2

-----------------------------------------

-------------------------------------------------
This mail sent through IMP: www.resolution.com


More information about the Pgpool-general mailing list