pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Lebedev <olebedev@waterford.org>
To: pgsql-admin@postgresql.org
Subject: Re: Postgres RPMS for RedHat 7.2
Date: Wed, 02 Jan 2002 13:07:11 -0700
Message-ID: <3C33686F.7A6957F5@waterford.org> (raw)
References: <PCEBLDKIIHGOAODDOHLLEEIMCBAA.jamesk@everbase.net>

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




view thread (4+ messages)

Message-ID: <3C33686F.7A6957F5@waterford.org>
Permalink:  ../3C33686F.7A6957F5@waterford.org/
Also on:    postgresql.org/message-id/3C33686F.7A6957F5@waterford.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: olebedev@waterford.org
  Subject: Re: Postgres RPMS for RedHat 7.2
  In-Reply-To: <3C33686F.7A6957F5@waterford.org>
  References: <PCEBLDKIIHGOAODDOHLLEEIMCBAA.jamesk@everbase.net> <3C33686F.7A6957F5@waterford.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox