Ralf Burger <ralf(at)Burger-AG(dot)de> writes:
> ./postgresql-8.0.0beta2/bin/psql template1
> ./postgresql-8.0.0beta2/bin/psql: error while loading shared libraries:
> ./postgresql-8.0.0beta2/bin/psql: undefined symbol: PQserverVersion
You're linking against an old (pre-8.0) libpq. Check your ldconfig
search path.
regards, tom lane