pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedPostgres RPMS for RedHat 7.2
4+ messages / 3 participants
[nested] [flat]
* Postgres RPMS for RedHat 7.2
@ 2001-12-28 23:55 Oleg Lebedev <olebedev@waterford.org>
2001-12-29 02:32 ` Re: Postgres RPMS for RedHat 7.2 Lamar Owen <lamar.owen@wgcr.org>
2002-01-02 19:34 ` Re: Postgres RPMS for RedHat 7.2 James Kelty <jamesk@everbase.net>
0 siblings, 2 replies; 4+ messages in thread
From: Oleg Lebedev @ 2001-12-28 23:55 UTC (permalink / raw)
To: Chris Ruprecht <chrup999@yahoo.com>; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Postgres RPMS for RedHat 7.2
2001-12-28 23:55 Postgres RPMS for RedHat 7.2 Oleg Lebedev <olebedev@waterford.org>
@ 2001-12-29 02:32 ` Lamar Owen <lamar.owen@wgcr.org>
1 sibling, 0 replies; 4+ messages in thread
From: Lamar Owen @ 2001-12-29 02:32 UTC (permalink / raw)
To: Oleg Lebedev <olebedev@waterford.org>; Chris Ruprecht <chrup999@yahoo.com>; +Cc: pgsql-admin
On Friday 28 December 2001 06:55 pm, Oleg Lebedev wrote:
> 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:
RedHat 7.2 includes PostgreSQL 7.1.3 as part of the base OS install.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Postgres RPMS for RedHat 7.2
2001-12-28 23:55 Postgres RPMS for RedHat 7.2 Oleg Lebedev <olebedev@waterford.org>
@ 2002-01-02 19:34 ` James Kelty <jamesk@everbase.net>
2002-01-02 20:07 ` Re: Postgres RPMS for RedHat 7.2 Oleg Lebedev <olebedev@waterford.org>
1 sibling, 1 reply; 4+ messages in thread
From: James Kelty @ 2002-01-02 19:34 UTC (permalink / raw)
To: Oleg Lebedev <olebedev@waterford.org>; Chris Ruprecht <chrup999@yahoo.com>; +Cc: pgsql-admin
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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Postgres RPMS for RedHat 7.2
2001-12-28 23:55 Postgres RPMS for RedHat 7.2 Oleg Lebedev <olebedev@waterford.org>
2002-01-02 19:34 ` Re: Postgres RPMS for RedHat 7.2 James Kelty <jamesk@everbase.net>
@ 2002-01-02 20:07 ` Oleg Lebedev <olebedev@waterford.org>
0 siblings, 0 replies; 4+ messages in thread
From: Oleg Lebedev @ 2002-01-02 20:07 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2002-01-02 20:07 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-28 23:55 Postgres RPMS for RedHat 7.2 Oleg Lebedev <olebedev@waterford.org>
2001-12-29 02:32 ` Lamar Owen <lamar.owen@wgcr.org>
2002-01-02 19:34 ` James Kelty <jamesk@everbase.net>
2002-01-02 20:07 ` Oleg Lebedev <olebedev@waterford.org>
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