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
tony
Date:
On Thu, 2002-03-07 at 06:43, Benjamin Smith wrote:
> 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

I made symbolic links for the crypto and ssl stuff. I used RedCarpet to
upgrade readline.

I installed the 7.2 rpms on this machine and it runs but I hardly ever
use it (it's my portable) it is ximian gnome on redhat 7.1 and
constantly upgraded via redcarpet.

Cheers

Tony

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html