Install Question
Install Question
От:
Patrick Reed <preed@rses.org>
Дата:
Hello, I'm a newbie and I'm trying to install PostgreSQL on RedHat 6.2.� Everything goes well until I type the following command:� "initdb --pglib=/usr/local/pgsql/lib/ --pgdata=/var/lib/pgsql/"� I get the following error "pg_encoding:� error in loading shared libraries: pg_encoding: undefined symbol: pg_char_to_encoding" After that, the database system is initialized, then followed by the error "Adding template1 database to pg_database..." "ERROR:� pg_atoi: error in "template1": can't parse "template1"" "ERROR:� pg_atoi: error in "template1": can't parse "template1" syntax error 1 : parse errorinitdb: could not log template database" � any ideas? Patrick Reed
Re: Install Question
От:
Webb Sprague <wsprague100@yahoo.com>
Дата:
You are may not be a much of a newbie as I am, but if you are, you might have forgotten to run "ldconfig" after the install. Unless you do that, the system doesn't know what new lib files have been installed or how to use them. Let me know if this helps. Webb --- Patrick Reed wrote: > Hello, > > I'm a newbie and I'm trying to install PostgreSQL on > RedHat 6.2.� > Everything goes well until I type the following > command:� "initdb > --pglib=/usr/local/pgsql/lib/ > --pgdata=/var/lib/pgsql/"� I get the > following error "pg_encoding:� error in loading > shared libraries: > pg_encoding: undefined symbol: pg_char_to_encoding" > > After that, the database system is initialized, then > followed by the > error "Adding template1 database to pg_database..." > "ERROR:� pg_atoi: error in "template1": can't parse > "template1"" > "ERROR:� pg_atoi: error in "template1": can't parse > "template1" > syntax error 1 : parse errorinitdb: could not log > template database" > � > > any ideas? > Patrick Reed > > > __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/