./configure<br>make<br>make check <br><br>failed as follows:<br><br>====<br>[snip]<br>creating t-sub<br>make[4]: Leaving directory `/home/bryce/src/gmp-4.2.1/tests'<br>make check-TESTS<br>make[4]: Entering directory `/home/bryce/src/gmp-
4.2.1/tests'<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-bswap: can't load library 'libgmp.so.3'<br>FAIL: t-bswap<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-constants: can't load library 'libgmp.so.3
'<br>FAIL: t-constants<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-count_zeros: can't load library 'libgmp.so.3'<br>FAIL: t-count_zeros<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-gmpmax: can't load library '
libgmp.so.3'<br>FAIL: t-gmpmax<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-hightomask: can't load library 'libgmp.so.3'<br>FAIL: t-hightomask<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-modlinv: can't load library '
libgmp.so.3'<br>FAIL: t-modlinv<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-popc: can't load library 'libgmp.so.3'<br>FAIL: t-popc<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-parity: can't load library '
libgmp.so.3'<br>FAIL: t-parity<br>/home/bryce/src/gmp-4.2.1/tests/.libs/lt-t-sub: can't load library 'libgmp.so.3'<br>FAIL: t-sub<br>==================================<br>9 of 9 tests failed<br>Please report to
<a href="mailto:gmp-bugs@swox.com">gmp-bugs@swox.com</a><br>==================================<br>make[4]: *** [check-TESTS] Error 1<br>make[4]: Leaving directory `/home/bryce/src/gmp-4.2.1/tests'<br>make[3]: *** [check-am] Error 2
<br>make[3]: Leaving directory `/home/bryce/src/gmp-4.2.1/tests'<br>make[2]: *** [check-recursive] Error 1<br>make[2]: Leaving directory `/home/bryce/src/gmp-4.2.1/tests'<br>make[1]: *** [check-recursive] Error 1<br>
make[1]: Leaving directory `/home/bryce/src/gmp-4.2.1'<br>make: *** [check] Error 2<br>$<br>=====<br><br>This system does not currently have a version of GMP installed, so on a whim, I tried the following:<br>=====<br>
$ export LD_LIBRARY_PATH=/home/bryce/src/gmp-4.2.1/.libs<br>=====<br>Those nine tests are now passing OK. As are the ten following....And the 56 after that. Geez how many tests did you write? It's still running, but there's no apparent problems. Obviously, these tests all linked correctly in order to produce executables, but the system can't find your little non-system-installed shared libraries when it comes time to run. This leads me to believe that your make check script just needs to set the LD_LIBRARY_PATH variable when attempting to run tests?
<br>