Mailing List Archive

GnuPG 1.0.2 fails to load RSA and IDEA modules
Hi,

after updating GnuPG from 1.0.1 to 1.0.2 I notice strange problems with
the RSA and IDEA modules. They are not loaded any more, and gpg
complains about missing symbols:

| [1] toje@nightingale:~$ gpg --version
| gpg (GnuPG) 1.0.2
| Copyright (C) 2000 Free Software Foundation, Inc.
| This program comes with ABSOLUTELY NO WARRANTY.
| This is free software, and you are welcome to redistribute it
| under certain conditions. See the file COPYING for details.
|
| Home: ~/.gnupg
| Unterstützte Verfahren:
| gpg: can't resolve symbol 'g10c_debug_mode'
| gpg: can't resolve symbol 'g10m_set_ui'
| gpg: can't resolve symbol 'g10_free'
| gpg: can't resolve symbol 'g10c_generate_secret_prime'
| gpg: can't resolve symbol 'g10m_sub_ui'
| gpg: can't resolve symbol 'g10m_get_size'
| gpg: can't resolve symbol 'g10m_gcd'
| gpg: can't resolve symbol 'g10m_release'
| gpg: can't resolve symbol 'g10m_new_secure'
| gpg: can't resolve symbol 'g10m_swap'
| gpg: can't resolve symbol 'g10_calloc'
| gpg: can't resolve symbol 'g10m_get_nbits'
| gpg: can't resolve symbol 'g10m_add_ui'
| gpg: can't resolve symbol 'g10m_set'
| gpg: can't resolve symbol 'g10m_mul'
| gpg: can't resolve symbol 'g10_log_fatal'
| gpg: can't resolve symbol 'g10m_set_buffer'
| gpg: can't resolve symbol 'g10_log_mpidump'
| gpg: can't resolve symbol 'g10m_new'
| gpg: can't resolve symbol 'g10m_invm'
| gpg: can't resolve symbol 'g10m_powm'
| gpg: can't resolve symbol 'g10c_get_random_bits'
| gpg: can't resolve symbol 'g10m_cmp'
| gpg: can't resolve symbol 'g10m_fdiv_q'
| gpg: /usr/local/lib/gnupg/rsa: error loading extension: Unable to resolve symbol
| gpg: can't resolve symbol 'g10_log_fatal'
| gpg: /usr/local/lib/gnupg/idea: error loading extension: Unable to resolve symbol
| Cipher: 3DES, CAST5, BLOWFISH, TWOFISH
| Pubkey: ELG-E, DSA, ELG
| Hash: MD5, SHA1, RIPEMD160, TIGER
|
This happens no matter whether I use freshly compiled versions of the
modules, the old ones which were working perfectly with V 1.0.1 or even
precompiled binaries copied from a Debian 2.2 system.

gpg has been compiled with gcc 2.7.2.1, my system is a Linux box running
kernel 2.0.36 and using libc5 (libc.so.5.4.44) for self-compiled
programs. The modules have been compiled with the options given in the
source (-Wall -O2 -shared -fPIC), gpg has been compiled with the options
figured out by configure (-g -O2 -Wall).

Is this a known bug of gpg or is there a problem on my system? Do you
see any way getting the modules working with gpg 1.0.2?

Please Cc: me any replies to this, a I am not subscribed to gpg-users.

Greetings from Düsseldorf,

=ToJe=

--
Torsten Jerzembeck * Kiesselbachstraße 77 * D-40589 Düsseldorf
* Exil-Westfale * PGP public key ID: B74DB58D * MIME welcome * Generation Tux *
"Und wenn ich das nächste Woche in einer Signature lese laufe ich
Amok. :-)" (Chris Blum <chris@phil.uni-sb.de> in de.admin.mail)
Re: GnuPG 1.0.2 fails to load RSA and IDEA modules [ In reply to ]
Torsten Jerzembeck wrote:

> gpg has been compiled with gcc 2.7.2.1, my system is a Linux box running
> kernel 2.0.36 and using libc5 (libc.so.5.4.44) for self-compiled
> programs. The modules have been compiled with the options given in the
> source (-Wall -O2 -shared -fPIC), gpg has been compiled with the options
> figured out by configure (-g -O2 -Wall).

> Is this a known bug of gpg or is there a problem on my system? Do you
> see any way getting the modules working with gpg 1.0.2?

Strange. I work myself with kernel 2.0.38, gcc 2.7.2.2 and libc.so.5.4.33
and those modules work on my system with gpg 1.0.2. So I doubt your system
as far as you described it is the problem.

Where did you place those modules? I never used gpg 1.0.1, but I noticed
that when I upgraded from 1.0.0 to 1.0.2 I had to put them in another
directory, they curently reside in /usr/local/lib/gnupg/lib/gnupg/idea
and /usr/local/lib/gnupg/lib/gnupg/rsa. All have ownership root.root and
chmod 755.

--
ir. J.C.A. Wevers // Physics and science fiction site:
johanw@vulcan.xs4all.nl // http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: GnuPG 1.0.2 fails to load RSA and IDEA modules [ In reply to ]
On Wed, 20 Sep 2000, Johan Wevers wrote:

> and /usr/local/lib/gnupg/lib/gnupg/rsa. All have ownership root.root and

Sur? The there is a configuraton problem.

Workaround: use the complete with --load-extension

--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: GnuPG 1.0.2 fails to load RSA and IDEA modules [ In reply to ]
Werner Koch wrote:

>>and /usr/local/lib/gnupg/lib/gnupg/rsa. All have ownership root.root and

> Sur? The there is a configuraton problem.

You mean the directory? I did that intentionally with the --prefix option
in configure. I have a symlink /usr/local/lib/gnupg pointing currently to
/usr/local/lib/gnupg-1.0.3. This way I can safely upgrade an installation
and revert back to the previous immediately if something goes wrong.

> Workaround: use the complete with --load-extension

I have that in my options file. I just removed the rsa module when I
switched to 1.0.3.

--
ir. J.C.A. Wevers // Physics and science fiction site:
johanw@vulcan.xs4all.nl // http://www.xs4all.nl/~johanw/index.html
PGP/GPG public keys at http://www.xs4all.nl/~johanw/pgpkeys.html

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org