Dear Niels, thanks for your immediate answer. Here is what I found on 3
of the failing tests (dsa-keygen-test does not failing, anyway the
result is the same)..
zaamus@zaamuspc:~/Dependencies/nettle-2.7.1$ LD_LIBRARY_PATH=.lib ldd
testsuite/ecc-mul-g-test
linux-gate.so.1 => (0x40022000)
libhogweed.so.2 => .lib/libhogweed.so.2 (0x40026000)
libnettle.so.4 => .lib/libnettle.so.4 (0x40054000)
libgmp.so.10 => /usr/lib/i386-linux-gnu/libgmp.so.10 (0x400a5000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x40124000)
/lib/ld-linux.so.2 (0x40000000)
zaamus@zaamuspc:~/Dependencies/nettle-2.7.1$ LD_LIBRARY_PATH=.lib ldd
testsuite/ecdsa-sign-test
linux-gate.so.1 => (0x40022000)
libhogweed.so.2 => .lib/libhogweed.so.2 (0x40026000)
libnettle.so.4 => .lib/libnettle.so.4 (0x40054000)
libgmp.so.10 => /usr/lib/i386-linux-gnu/libgmp.so.10 (0x400a5000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x40124000)
/lib/ld-linux.so.2 (0x40000000)
zaamus@zaamuspc:~/Dependencies/nettle-2.7.1$ LD_LIBRARY_PATH=.lib ldd
testsuite/ecc-mul-a-test
linux-gate.so.1 => (0x40022000)
libhogweed.so.2 => .lib/libhogweed.so.2 (0x40026000)
libnettle.so.4 => .lib/libnettle.so.4 (0x40054000)
libgmp.so.10 => /usr/lib/i386-linux-gnu/libgmp.so.10 (0x400a5000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0x40124000)
/lib/ld-linux.so.2 (0x40000000)
Il 2014-11-09 12:22 [email protected] ha scritto:
braga <[email protected]> writes:
I am triyng to install nettle2.7.1 (because I want to install
gnutls-cli but it doesn't support nettle3.0) on my
Ubuntu 12.04
i686 architecture
PASS: dsa-keygen
./ecc-mod-test: symbol lookup error: ../.lib/libhogweed.so.2:
undefined symbol: __gmpz_limbs_read
[...]
I have libgcrypt1.6.2, libgpg-error1.17, m4 macro processor and
gmp6.0.0 installed.
Note that libgcrypt and libgpg-error are not used by nettle.
Library lgmp is correctly found when I compile
some random c source. Can you help me? Do you need other information?
It looks like you found gmp-6.0 header files, but link with an older
version of gmp at runtime.
Can you try ldd on some of the failing test programs? E.g.,
LD_LIBRARY_PATH=.lib ldd testsuite/dsa-keygen-test
Regards,
/Niels
--
Vittorio Francesco Braga
PhD student in Tor Vergata University of Rome
Mobile: +393203753307, Office (PhD room): +390672594868
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs