Re: Can't initdb, libdir points to static location

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Can't initdb, libdir points to static location
Дата
Msg-id Pine.LNX.4.44.0311242011220.21306-100000@peter.localdomain
обсуждение исходный текст
Ответ на Can't initdb, libdir points to static location  (tfarrell@laurelnetworks.com (Tim Farrell))
Список pgsql-general
Tim Farrell writes:

> I use PostgreSQL as a default database in our solution and with the
> 7.2 version I was able to tar up the area pointed to by the --prefix
> build argument and untar to an arbitrary path as part of my product
> installation and I could initdb the database no problem and get a
> running database setup completely.

OK, but it was never intended that this would work.  In fact, it was
specifically documented as not working well.  Maybe you want to do 'make
install DESTDIR=...' instead, to create a "fake root" installation that
you can tar up.

> Is there an environment variable that can override this like
> LD_LIBRARY_PATH ?

There isn't one right now, but the environment variable might not be a bad
idea.

--
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-general по дате отправления:

Предыдущее
От: "Mark Parker"
Дата:
Сообщение: newbie questions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SCSI vs. IDE performance test