[Pgpool-general] problem to build pgpool II 2.3.3 with postgresql 8.4.4
Gary Fu
gfu at sigmaspace.com
Fri May 21 21:12:55 UTC 2010
Hi,
After upgraded postgresql from 8.4.2 to 8.4.4, I have problem to run the
pgool II 2.3.3 with the following error message:
/pgpool: symbol lookup error: /usr/local/pgsql/lib/libpq.so.5: undefined
symbol: dlopen
When I tried to rebuild the pgpool II 2.3.3, the 'configure' failed with
the following message:
configure:24789: result: no
configure:24799: error: libpq is not installed or libpq is old
In the 'config.log' file, I found the following message:
configure:24727: checking for PQexecPrepared in -lpq
configure:24757: gcc -o conftest -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -L/home/gfu/pgpool2/tmp_lib conftest.c -lpq
-lcrypt -lresolv -lnsl -lm >&5
/home/gfu/pgpool2/tmp_lib/libpq.so: undefined reference to `dlsym'
/home/gfu/pgpool2/tmp_lib/libpq.so: undefined reference to `dlerror'
/home/gfu/pgpool2/tmp_lib/libpq.so: undefined reference to `dladdr'
/home/gfu/pgpool2/tmp_lib/libpq.so: undefined reference to `dlopen'
/home/gfu/pgpool2/tmp_lib/libpq.so: undefined reference to `dlclose'
collect2: ld returned 1 exit status
configure:24763: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
Does anyone know what's the problem and how to resolve it ?
Thanks,
Gary
More information about the Pgpool-general
mailing list