Thread: Pg8.0 beta2 psql error

Pg8.0 beta2 psql error

From
"Patrick Hatcher"
Date:
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

Re: Pg8.0 beta2 psql error

From
Michael Fuhr
Date:
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/

Re: Pg8.0 beta2 psql error

From
"Patrick Hatcher"
Date:
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


> 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/