Thread: Installing 7.2 on RedHat 7.1

Installing 7.2 on RedHat 7.1

From
Benjamin Smith
Date:
How do you do this?

Tried the "unofficial" RH 7.2 RPMS , and got the following errors:

error: failed dependencies:
        libcrypto.so.2   is needed by postgresql-7.2-1.72
        libreadline.so.4   is needed by postgresql-7.2-1.72
        libssl.so.2   is needed by postgresql-7.2-1.72
        libcrypto.so.2   is needed by postgresql-contrib-7.2-1.72
        libreadline.so.4   is needed by postgresql-contrib-7.2-1.72
        libssl.so.2   is needed by postgresql-contrib-7.2-1.72
        libcrypto.so.2   is needed by postgresql-devel-7.2-1.72
        libreadline.so.4   is needed by postgresql-devel-7.2-1.72
        libssl.so.2   is needed by postgresql-devel-7.2-1.72
        libcrypto.so.2   is needed by postgresql-libs-7.2-1.72
        libssl.so.2   is needed by postgresql-libs-7.2-1.72
        libcrypto.so.2   is needed by postgresql-server-7.2-1.72
        libreadline.so.4   is needed by postgresql-server-7.2-1.72
        libssl.so.2   is needed by postgresql-server-7.2-1.72


So then I tried the "OFFICIAL" 7.2 RPMS:

error: failed dependencies:
        libcrypto.so.2   is needed by postgresql-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-7.2-1PGDG
        libssl.so.2   is needed by postgresql-7.2-1PGDG
        libcrypto.so.2   is needed by postgresql-contrib-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-contrib-7.2-1PGDG
        libssl.so.2   is needed by postgresql-contrib-7.2-1PGDG
        libcrypto.so.2   is needed by postgresql-devel-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-devel-7.2-1PGDG
        libssl.so.2   is needed by postgresql-devel-7.2-1PGDG
        libcrypto.so.2   is needed by postgresql-libs-7.2-1PGDG
        libssl.so.2   is needed by postgresql-libs-7.2-1PGDG
        libcrypto.so.2   is needed by postgresql-server-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-server-7.2-1PGDG
        libssl.so.2   is needed by postgresql-server-7.2-1PGDG

Then, tried the 6.2 RPMs
error: failed dependencies:
        libcrypto.so.0   is needed by postgresql-7.2-1PGDG
        libk5crypto.so.2   is needed by postgresql-7.2-1PGDG
        libkrb5.so.2   is needed by postgresql-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-7.2-1PGDG
        libssl.so.0   is needed by postgresql-7.2-1PGDG
        libcrypto.so.0   is needed by postgresql-contrib-7.2-1PGDG
        libk5crypto.so.2   is needed by postgresql-contrib-7.2-1PGDG
        libkrb5.so.2   is needed by postgresql-contrib-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-contrib-7.2-1PGDG
        libssl.so.0   is needed by postgresql-contrib-7.2-1PGDG
        libcrypto.so.0   is needed by postgresql-devel-7.2-1PGDG
        libk5crypto.so.2   is needed by postgresql-devel-7.2-1PGDG
        libkrb5.so.2   is needed by postgresql-devel-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-devel-7.2-1PGDG
        libssl.so.0   is needed by postgresql-devel-7.2-1PGDG
        libcrypto.so.0   is needed by postgresql-libs-7.2-1PGDG
        libk5crypto.so.2   is needed by postgresql-libs-7.2-1PGDG
        libkrb5.so.2   is needed by postgresql-libs-7.2-1PGDG
        libssl.so.0   is needed by postgresql-libs-7.2-1PGDG
        libcrypto.so.0   is needed by postgresql-server-7.2-1PGDG
        libk5crypto.so.2   is needed by postgresql-server-7.2-1PGDG
        libkrb5.so.2   is needed by postgresql-server-7.2-1PGDG
        libreadline.so.4   is needed by postgresql-server-7.2-1PGDG
        libssl.so.0   is needed by postgresql-server-7.2-1PGDG
        postgresql = 7.1.3 is needed by postgresql-test-7.1.3-1PGDG

So, then I tried the instructions about rpm --rebuild, and got this error:

[root@host src]# rpm --recompile --rebuild --define 'perl 0' --define 'tcl 0'
--define 'tkpkg 0' --define 'odbc 0' --define 'jdbc 0' --define 'test 0'
--define 'python 0' --define 'pltcl 0' --define 'ssl 0' --define 'kerberos 0'
postgresql-7.2-1PGDG.src.rpm
Installing postgresql-7.2-1PGDG.src.rpm
error: failed build dependencies:
        gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG
[root@host src]# rpm -qa | grep gettext
gettext-0.10.35-31

So, am I the only person on earth trying to install PG 7.2 on a RH 7.1
system? I have the latest openssl RPMs installed, I have the latest readline,
gettext, openssl and openssl-devel, (as released by RedHat and updated via
up2date) so now what?

BTW, this is all done on the local machine, so I'm unsure why I need ssl /
kerberos stuff anyway. Is there some way to "turn them off"?

-Ben

Re: Installing 7.2 on RedHat 7.1

From
teg@redhat.com (Trond Eivind Glomsrød)
Date:
Benjamin Smith <bens@benjamindsmith.com> writes:

> BTW, this is all done on the local machine, so I'm unsure why I need ssl /
> kerberos stuff anyway. Is there some way to "turn them off"?

Yes, just look in the spec file. Just turn them off on the top.

--
Trond Eivind Glomsrød
Red Hat, Inc.

Re: Installing 7.2 on RedHat 7.1

From
Lamar Owen
Date:
On Thursday 07 March 2002 12:52 am, Benjamin Smith wrote:
> How do you do this?
> So, then I tried the instructions about rpm --rebuild, and got this error:

> [root@host src]# rpm --recompile --rebuild --define 'perl 0' --define 'tcl
> 0' --define 'tkpkg 0' --define 'odbc 0' --define 'jdbc 0' --define 'test 0'
> --define 'python 0' --define 'pltcl 0' --define 'ssl 0' --define 'kerberos
> 0' postgresql-7.2-1PGDG.src.rpm
> Installing postgresql-7.2-1PGDG.src.rpm
> error: failed build dependencies:
>         gettext >= 0.10.36 is needed by postgresql-7.2-1PGDG
> [root@host src]# rpm -qa | grep gettext
> gettext-0.10.35-31

> So, am I the only person on earth trying to install PG 7.2 on a RH 7.1
> system? I have the latest openssl RPMs installed, I have the latest
> readline, gettext, openssl and openssl-devel, (as released by RedHat and
> updated via up2date) so now what?

The official RPMs are built and installed on whatever my machine is running;
which happens to be RedHat 7.2 at this time.  I don't have any more RH 7.1
machines to build on -- and my apologies for missing a dependency that sticks
the build.  I try to keep up with it, but sometimes things get by me.

> BTW, this is all done on the local machine, so I'm unsure why I need ssl /
> kerberos stuff anyway. Is there some way to "turn them off"?

You turned them off in the rpm line above.  Edit the spec file to change the
gettext dependency.  This will be changed in the next RPMset.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11