Re: share library version problems

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: share library version problems
Дата
Msg-id 20060822210003.GB6555@svana.org
обсуждение исходный текст
Ответ на share library version problems  (Bryan White <bryan@arcamax.com>)
Ответы Re: share library version problems  (Bryan White <bryan@arcamax.com>)
Список pgsql-general
On Tue, Aug 22, 2006 at 12:26:53PM -0400, Bryan White wrote:
> I am having problems with my libpq programs crashing.  This seems to be
> a version incompatibility and I want to find out how to best proceed.

<snip>

> My dev server was running the same setup as the web server.  The
> difference is that it acts as its own database server.  I was
> uncomfortable running an older version of the server on my test system
> then on the live system.  So yesterday I removed the OS supplied
> PostgreSQL RPMs and installed 8.1.4 from RPMs on the PostgreSQL download
> site.
>
> Today I discovered that programs that I compile on my dev server will
> segfault when run on the live web server.

Can you provide the output of ldd? The libraries are supposed to be
reasonably compatable.

In any case, you should try to run both servers against the same set of
libs and headers. You can have multiple copies of libpq around and
select it at compile time. The client library doesn't really have to
match the server version...

Hope this helps,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: Inserting Data
Следующее
От: Tom Lane
Дата:
Сообщение: Re: share library version problems