Re: Postgres RPMS for RedHat 7.2

Поиск
Список
Период
Сортировка
От Oleg Lebedev
Тема Re: Postgres RPMS for RedHat 7.2
Дата
Msg-id 3C33686F.7A6957F5@waterford.org
обсуждение исходный текст
Ответ на Postgres RPMS for RedHat 7.2  (Oleg Lebedev <olebedev@waterford.org>)
Список pgsql-admin
I solved the problem by commenting out
#include <postgres.h>
in $PHP_HOME/ext/pgsql/php_pgsql.h
It turns out that php does not really need this header file, but when compiled,
it won't find it if configured with postgres installation (not src) directory.
thanks,

oleg

James Kelty wrote:

> When you compile the postgres, you can make it so that other progs can find
> the included when you need them to by putting the $PGSQL/lib in
> /etc/ld.so.conf and running /sbin/ldconfig
>
> You can always specify where the includes and libs are in php using
> the --with-pgsql=$PGSQL
>
> -James
>
> -----Original Message-----
> From: pgsql-admin-owner@postgresql.org
> [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Oleg Lebedev
> Sent: Friday, December 28, 2001 3:55 PM
> To: Chris Ruprecht
> Cc: 'pgsql-admin@postgresql.org'
> Subject: [ADMIN] Postgres RPMS for RedHat 7.2
>
> Hi everybody,
> I just installed RedHat 7.2 on one of my machines. I was trying to locate
> latest
> postgres RPMS for this version of linux, but couldn't find any. When I try
> to
> use RPMS for RedHat 7.1, I get the following error:
> error: failed dependencies
>     libpq.so.2    is needed by postgresql-7.1.3-1PGDG
>     libreadline.so.4.1    is needed by postgresql-7.1.3-1PGDG
> I found out that the first file is in $PGSQL/lib directory, but I don't have
> libreadline.so.4.1, but libreadline.so.4 and libreadline.so.4.2 in /usr/lib.
> Is
> it possible at all to use RedHat 7.1 RPMS on RedHat 7.2?
>
> I can avoid using RPMS if smbd. can tell he how I can do a FULL installation
> of
> postgres. In other words, I want all packages in $PG_SRC/src/include to be
> compiled and place in $PGSQL/include directory, where $PG_SRC and $PGSQL are
> postgres source and installation directories respectively. The thing is that
> when I configure it with PHP, PHP can't find some of the packages in
> $PGSQL/include, so I have to configure PHP with $PG_SRC/src in order to
> compile
> it, which causes some other problems later.
> thanks,
>
> Oleg
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org


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

Предыдущее
От: reina@nsi.edu (Tony Reina)
Дата:
Сообщение: Inherited tables vs non-inherited tables
Следующее
От: root@localhost.localdomain (Jules Alberts)
Дата:
Сообщение: Re: Database alternate locations