Re: Postgresql8.4 install breaks Evolution on Ubuntu 9.10

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: Postgresql8.4 install breaks Evolution on Ubuntu 9.10
Дата
Msg-id 407d949e0911290824n1be246cfi2f7d8b8b9b49d8a4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Postgresql8.4 install breaks Evolution on Ubuntu 9.10  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Postgresql8.4 install breaks Evolution on Ubuntu 9.10  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
On Sun, Nov 29, 2009 at 4:17 PM, Magnus Hagander <magnus@hagander.net> wrote:
> On Sun, Nov 29, 2009 at 16:18, Sachin Srivastava
> <sachin.srivastava@enterprisedb.com> wrote:

>> Apart from libxml2 (which is now being fixed) all other libraries you
>> mentioned , dint get installed (or copied) to the PGHOME/lib directory if
>> the same name library already present in the system (/lib and /usr/lib).
>
> What happens if they are installed by the packaging system later on?
> Won't that cause a conflict then?

Or if the user later uninstalls those libraries -- which can happen
automatically when nothing in the packaging system depends on them any
longer.

But i don't see what the conflict is if they're installed in
PGHOME/lib as long as the installer doesn't fiddle with
/etc/ld.so.conf or set any environment variables. The binaries should
just be built with an rpath pointing to that directory or ship with a
startup script which puts that directory in LD_LIBRARY_PATH. Whether
you want to append, leaving the system directories ahead of the
one-click installed libraries, or prepend so the linker always uses
your libraries would depend on how you want it to behave. Setting
rpath is equivalent to prepending I believe.

--
greg

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Postgresql8.4 install breaks Evolution on Ubuntu 9.10
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: 8.45.1 on mac - Plist problems