Thread: Installation problem

Installation problem

From
"ryan"
Date:
.  I just installed Postgres 7.0.2 on my system and followed the installation instructions to the T.  i even ran the regression tests and everything works fine, until i try to create a database.  logged in as 'postgres', i issue the command "createdb testdb"  i get the following response:
 
/usr/bin/psql: error in loading shared libraries: /usr/bin/psql: undefined symbol: pg_encoding_to_char
createdb: database creation failed
 
any help with this would be greatly appreciated.  thanks in advance
 
-ryan

Re: Installation problem

From
"ryan"
Date:
I did have PG 6.5.3 I think.  I moved it out of the directory it was in and
put it in a pgsql_old directory.  Is there something else I need to do to
get rid of it?  At this point what should I do to get rid of all of them?
Thanks for the help.

-ryan


----- Original Message -----
From: "Stephan Szabo" <sszabo@megazone23.bigpanda.com>
To: "ryan" <pgsql@hopestreet.net>
Cc: <pgsql-admin@postgresql.org>
Sent: Monday, July 31, 2000 2:43 PM
Subject: Re: [ADMIN] Installation problem


>
> Did you have a previous version of postgres installed on the machine
> (perhaps an RPM if you're on a linux box)?  I don't think psql shouldn't
> be in /usr/bin by the normal installation from the source package.
>
> On Sun, 30 Jul 2000, ryan wrote:
>
> > .  I just installed Postgres 7.0.2 on my system and followed the
installation instructions to the T.  i even ran the regression tests and
everything works fine, until i try to create a database.
> > logged in as 'postgres', i issue the command "createdb testdb"  i get
> > the following response:
> >
> > /usr/bin/psql: error in loading shared libraries: /usr/bin/psql:
undefined symbol: pg_encoding_to_char
> > createdb: database creation failed
> >
> > any help with this would be greatly appreciated.  thanks in advance