Upgrade from 1.0.7-6 to 1.2.2 in RedHat 8.0

Todd Todd <Freedom_Lover@pobox.com>
Fri Jun 20 19:17:02 2003

Hash: SHA1

Ty Cabugao wrote:
> I am trying to upgrade my GnuPG from 1.0.7-6 to 1.2.2. I am running RedHat
> 8.0. I follow the instructions completely (./configure, make, make
> install), and everything seems to go through smoothly. But once I check
> out the version of my gpg, it is still 1.0.7-6. Am I doing anything wrong?

By default, configure will set the prefix to /usr/local while the rpm from
redhat uses /usr.  So when you ran make install, your newly compiled gnupg
1.2.2 was probably installed in /usr/local/bin/gpg which comes after
/usr/bin in your path.  If you have removed the gnupg rpm, then you should
be able to use gpg 1.2.2 from /usr/local, assuming that you have
/usr/local/bin in your path.

You may also need to add /usr/local/libs to /etc/ls.so.conf and run ldconfig
(as root) so that some libraries work.

You could also just rebuild gnupg passing the --prefix=/usr option to
configure or build your own gnupg rpm.  There is a spec file in the gnupg
tarball (which I haven't used) and you might well be able to just type
something like 'rpmbuild -tb /path/to/gnupg-1.2.2.tar.gz' to produce a
binary gnupg rpm.

- -- 
Todd              OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
Life is the art of drawing sufficient conclusions from insignificant
    -- Samuel Butler

Version: GnuPG v1.2.3rc1 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.