Re: Databse installation problem

Поиск
Список
Период
Сортировка
Искать
От
Tim Bowden
Тема
Re: Databse installation problem
Дата
Msg-id
1253513584.4434.23.camel@mordor
Ответ на
Список
Дерево обсуждения
Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: [BUGS] Databse installation problem tomas@tuxteam.de
Re: [BUGS] Databse installation problem Robert Haas <robertmhaas@gmail.com>
Re: Databse installation problem Gurjeet Singh <singh.gurjeet@gmail.com>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
Re: Databse installation problem Tim Bowden <tim.bowden@westnet.com.au>
Re: Databse installation problem Bhushan Verma <verma.bhushan@gmail.com>
On Mon, 2009-09-21 at 11:23 +0530, Bhushan Verma wrote:
> 
> I have tried to install postgres version 8.3.7 as follows
> 
> rm -rf /var/lib/pgsql
> mkdir /var/lib/pgsql
> ./configure --prefix /var/lib/pgsql
> gmake
> su
> gmake install
> adduser postgres
> mkdir /var/lib/pgsql/data
> chown postgres /var/lib/pgsql/data
> su - postgres
> /usr/local/pgsql/bin/initdb -D /var/lib/pgsql/data
> /usr/local/pgsql/bin/postgres -D /var/lib/pgsql/data >pgstartup.log
> 2>&1 &
> /usr/local/pgsql/bin/createdb test
> /usr/local/pgsql/bin/psql test
> 
> then i log on database to see the version
> test=> select version();
>                                                 version
> -------------------------------------------------------------------------------------------------------
>  PostgreSQL 8.3.1 on i386-redhat-linux-gnu, compiled by GCC gcc (GCC)
> 4.3.0 20080314 (Red Hat 4.3.0-3)
> (1 row)
> but its showing me 8.3.1 that was my previous version.
> Could anyone tell me what is the problem.
> 
> -- 
> With Regards,
> Bhushan

Have you tried running ldconfig to refresh the lib cache?

fwiw I always put /var/lib/pgsql/lib (or equivalent) in /etc/ld.so.conf
(or /etc/ld.so.conf.d/local.conf for debian based system)

HTH,
Tim Bowden

В списке pgsql-novice по дате отправления
От: Gurjeet Singh
Дата:
От: Bhushan Verma
Дата:
FAQ