During emerging libgcrypt (version 1.1.12) I had trouble compiling it. It ended up with failure: /usr/i686-pc-linux-gnu/bin/ld:./libgcrypt.vers:23: parse error in VERSION script collect2: ld returned 1 exit status make[2]: *** [libgcrypt.la] Error 1 I need to say, that this is not a gentoo problem. I've tested 1.1.10 and 1.1.11 from the hosted site. The problem occurs from the linker script "libgcrypt.vers" I found out that the following change in ./libgcrypt-1.1.12/src/libgcrypt.vers fixes the problem. ---- CUT --- # WARNING: _gcry_generate_elg_prime is only a temporary solution for # GNUTLS and should not be used by any otehr program. A new interface # for prime generation will be available RSN (wk 2003-01-02) -{ +VERSION { global: gcry*; _gcry_generate_elg_prime; local: *; }; --- CUT --- conditions: gcc --version: 2.95.3 glibc version: 2.2.5-r7 dependend trouble: newpg wants libgcrypt kmail and gnupg plugin needs libgcrypt todo: maybe there is a kind maintainer who could make additional changes to the ebuildscript. akif
Does this error only pop up when using gcc 2.95?
I used to have gcc 2.95 when this error occured. Meanwhile I updated my system to gcc 3.2 and libgcryp does compile errorless.
Reassigning bugs due to lack of time.
works here fine on my gentoo-1.2 system