Pg8.0 beta2 psql error

Started by Patrick Hatcherover 21 years ago3 messagesgeneral
Jump to latest
#1Patrick Hatcher
pathat@comcast.net

Just installed and started Pg8.0 beta 2
When I tried to connect via psql, I received an error message:
[patrick@localhost postgresql-8.0.0beta2]$ psql -Upostgres template1
psql: relocation error: psql: undefined symbol: PQsetErrorVerbosity

Can someone give me a clue what to do next?

Thank you
-Patrick

#2Michael Fuhr
mike@fuhr.org
In reply to: Patrick Hatcher (#1)
Re: Pg8.0 beta2 psql error

On Sun, Sep 26, 2004 at 08:43:44AM -0700, Patrick Hatcher wrote:

Just installed and started Pg8.0 beta 2
When I tried to connect via psql, I received an error message:
[patrick@localhost postgresql-8.0.0beta2]$ psql -Upostgres template1
psql: relocation error: psql: undefined symbol: PQsetErrorVerbosity

Can someone give me a clue what to do next?

Perhaps the run-time linker is loading an old libpq. Do you still
have an old version of PostgreSQL installed? What's the output of
the following command?

ldd `which psql`

What platform are you using, and how did you install PostgreSQL
8.0.0beta2? In what directory were the shared libraries installed?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

#3Patrick Hatcher
pathat@comcast.net
In reply to: Patrick Hatcher (#1)
Re: Pg8.0 beta2 psql error

That was it! I had an old version of PG on the box and it was looking in
that directory.
Thank you.

----- Original Message -----
From: "Michael Fuhr" <mike@fuhr.org>
To: "Patrick Hatcher" <pathat@comcast.net>
Cc: <pgsql-general@postgresql.org>
Sent: Sunday, September 26, 2004 9:31 AM
Subject: Re: [GENERAL] Pg8.0 beta2 psql error

Show quoted text

On Sun, Sep 26, 2004 at 08:43:44AM -0700, Patrick Hatcher wrote:

Just installed and started Pg8.0 beta 2
When I tried to connect via psql, I received an error message:
[patrick@localhost postgresql-8.0.0beta2]$ psql -Upostgres template1
psql: relocation error: psql: undefined symbol: PQsetErrorVerbosity

Can someone give me a clue what to do next?

Perhaps the run-time linker is loading an old libpq. Do you still
have an old version of PostgreSQL installed? What's the output of
the following command?

ldd `which psql`

What platform are you using, and how did you install PostgreSQL
8.0.0beta2? In what directory were the shared libraries installed?

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/