Make Check Fails

Jonathan Blanchard BlanchardJ at ieee.org
Mon Nov 9 17:56:02 CET 2009


On Mon, Nov 9, 2009 at 12:39 PM, Rajeev Kumar <RKumar at intellidyn.com> wrote:
> Hi:
> Installing  gmp-4.3.1 on Solaris 8 SPARC
> Getting the following errors while running make check
> Was wondering if you could assist otherwise will try to install older
> version
> Thanks
>
> Rajeev
>
> make[4]: Leaving directory `/home/rajeev/gmp-4.3.1/tests'
> /usr/local/bin/make  check-TESTS
> make[4]: Entering directory `/home/rajeev/gmp-4.3.1/tests'
> ld.so.1: t-bswap: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-bswap
> ld.so.1: t-constants: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-constants
> ld.so.1: t-count_zeros: fatal: libgcc_s.so.1: open failed: No such file
> or directory
> FAIL: t-count_zeros
> ld.so.1: t-gmpmax: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-gmpmax
> ld.so.1: t-hightomask: fatal: libgcc_s.so.1: open failed: No such file
> or directory
> FAIL: t-hightomask
> ld.so.1: t-modlinv: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-modlinv
> ld.so.1: t-popc: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-popc
> ld.so.1: t-parity: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-parity
> ld.so.1: t-sub: fatal: libgcc_s.so.1: open failed: No such file or
> directory
> FAIL: t-sub
> ====================================
> 9 of 9 tests failed
> Please report to gmp-bugs at gmplib.org
> ====================================
> make[4]: *** [check-TESTS] Error 1
> make[4]: Leaving directory `/home/rajeev/gmp-4.3.1/tests'
> make[3]: *** [check-am] Error 2
> make[3]: Leaving directory `/home/rajeev/gmp-4.3.1/tests'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory `/home/rajeev/gmp-4.3.1/tests'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory `/home/rajeev/gmp-4.3.1'
> make: *** [check] Error 2
>
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at gmplib.org
> https://gmplib.org/mailman/listinfo/gmp-bugs
>

Which version and distribution of GCC are you using? It looks like the
gcc runtime libs cannot be found by your executable. To fix this
problem you need to add a runtime search path to the created
libraries.

The recommended way of doing this on Solaris is by defining LD_OPTIONS
like this before building GMP :

LD_OPTIONS='-R/path/to/gcc/lib'

If you need more info please reply with the exact gcc you are using.

Jonathan Blanchard


More information about the gmp-bugs mailing list