Обсуждение: PostgreSQL 8.0.1 compile success Regression Fails

Поиск
Список
Период
Сортировка

PostgreSQL 8.0.1 compile success Regression Fails

От
"Vishal Kashyap @ [SaiHertz]"
Дата:
Hi ,

Compiled PostgreSQL 8.0.1 on FC3 Kernel 2.6.10

Configured with
./configure \--bindir=/usr/bin \--prefix=/postgres
\--libdir=/usr/lib/pgsql \--sysconfdir=/etc/sysconfig/pgsql
\--datadir=/postgres/data \--enable-syslog \--with-CXX  \--without-tcl
\--with-pgport=5432 \--enable-thread-safety \--without-tk

the only problem is Regression test fails with following error


/bin/sh ./pg_regress --temp-install --top-builddir=../../..
--schedule=./parallel_schedule --multibyte=SQL_ASCII
============== creating temporary installation        ==============
============== initializing database system           ==============
============== starting postmaster                    ==============
running on port 65432 with pid 17858
============== creating database "regression"         ==============
CREATE DATABASE
/usr/local/src/postgresql-8.0.1/src/test/regress/./tmp_check/install//usr/bin/psql:
symbol lookup error:
/usr/local/src/postgresql-8.0.1/src/test/regress/./tmp_check/install//usr/bin/psql:
undefined symbol: PQserverVersion
pg_regress: could not set database default locales
gmake[2]: *** [check] Error 2
rm regress.o
gmake[2]: Leaving directory `/usr/local/src/postgresql-8.0.1/src/test/regress'
gmake[1]: *** [check] Error 2
gmake[1]: Leaving directory `/usr/local/src/postgresql-8.0.1/src/test'
gmake: *** [check] Error 2



Any suggestions. may I move ahead with installation or should I try
again from configure. I have already redone the whole process 10
times.

--
With Best Regards,
Vishal Kashyap.
Lead Software Developer,
http://saihertz.com,
http://vishalkashyap.tk

Re: PostgreSQL 8.0.1 compile success Regression Fails

От
Tom Lane
Дата:
"Vishal Kashyap @ [SaiHertz]" <vishalonlist@gmail.com> writes:
> Compiled PostgreSQL 8.0.1 on FC3 Kernel 2.6.10

> /usr/local/src/postgresql-8.0.1/src/test/regress/./tmp_check/install//usr/bin/psql:
> undefined symbol: PQserverVersion

Apparently you have an older version of libpq.so installed and it's
finding that in preference to the newer version.  If you really want
to test the 8.0 version before installing the updated libpq.so,
I think you'll need to fool around with --disable-rpath.

            regards, tom lane