Make Check Fails
Rajeev Kumar
RKumar at intellidyn.com
Tue Nov 10 00:33:41 CET 2009
Thanks for your reply. Below the version of gcc and path fo library
Will try running with your suggestion below and update you
Rajeev
bash-2.03$ pkginfo -l SMCgcc
PKGINST: SMCgcc
NAME: gcc
CATEGORY: application
ARCH: sparc
VERSION: 3.4.6
BASEDIR: /usr/local
VENDOR: FSF
PSTAMP: Steve Christensen
INSTDATE: Nov 06 2009 16:19
EMAIL: steve at smc.vnet.net
STATUS: completely installed
FILES: 449 installed pathnames
47 shared pathnames
65 directories
28 executables
173450 blocks used (approx)
bash-2.03$ cd /usr/local/lib
bash-2.03$ ls -l|grep gcc
drwxr-xr-x 3 bin bin 512 Nov 6 16:19 gcc
lrwxrwxrwx 1 root other 13 Apr 6 2005 libgcc_s.so -> libgcc_s.so.1
-rw-r--r-- 1 bin bin 168408 Sep 4 2006 libgcc_s.so.1
-----Original Message-----
From: irf610 at gmail.com [mailto:irf610 at gmail.com] On Behalf Of Jonathan Blanchard
Sent: Monday, November 09, 2009 11:56 AM
To: Rajeev Kumar
Cc: gmp-bugs at gmplib.org
Subject: Re: Make Check Fails
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