David Dick <david_dick(at)iprimus(dot)com(dot)au> writes:
> /home/dave/postgresql-8.0.0beta4/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/psql:
> relocation error:
> /home/dave/postgresql-8.0.0beta4/src/test/regress/./tmp_check/install//usr/local/pgsql/bin/psql:
> undefined symbol: PQserverVersion
> pg_regress: could not set database default locales
Apparently psql is picking up an old libpq.so version from
/usr/local/pgsql/lib. You may need to go ahead and install the
newer version. Or if that doesn't sound like a good plan, reconfigure
and rebuild with an installation --prefix that doesn't match the
existing older installation.
regards, tom lane