Devrim GUNDUZ <devrim@gunduz.org> writes:
>> Try removing the "2>/dev/null" bit so that you can see if any error
>> messages come out from psql.
> Ok, we have a detailed error now:
> /home/pgsql80/pgsql/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/psql:
> relocation error:
> /home/pgsql80/pgsql/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/psql:
> undefined symbol: PQgetCancel
> pg_regress: could not set database default locales
Oh, so you are using yesterday's libpq.so shared library ;-)
I am not sure there is any way around that except to go ahead and
install today's libpq. pg_regress can't do much more than set
LD_LIBRARY_PATH, and evidently that's not enough to make the Linux
dynamic loader take the version of libpq.so that's in the temp
installation rather than the one you previously installed.
regards, tom lane