Tried almost everything - libgcc_s.so.1 errors during 'make check'

leonard.gray at srs.gov leonard.gray at srs.gov
Mon Sep 17 18:08:50 CEST 2007


I'm trying to build and install gmp using either version 4.2.1 or 4.2.2 on 
a Solaris 8 (sparc) machine.

I've installed gcc 3.4.6 and gcclib 3.4.6 on this machine, and get 
repeated errors trying to run "make check":

make  check-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 swox.com
==================================
*** Error code 1
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /external/gmp-4.2.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /external/gmp-4.2.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory /external/gmp-4.2.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory /external/gmp-4.2.2
*** Error code 1
make: Fatal error: Command failed for target `check'

Also tried the "unrecommended" export LD_LIBRARY_PATH to point to the 
missing libgcc_s.so.1 and get:

make  check-TESTS
ld.so.1: t-bswap: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-bswap
ld.so.1: t-constants: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-constants
ld.so.1: t-count_zeros: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-count_zeros
ld.so.1: t-gmpmax: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-gmpmax
ld.so.1: t-hightomask: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-hightomask
ld.so.1: t-modlinv: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-modlinv
ld.so.1: t-popc: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-popc
ld.so.1: t-parity: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: 
ELFCLASS32
FAIL: t-parity
ld.so.1: t-sub: fatal: /usr/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
FAIL: t-sub
==================================
9 of 9 tests failed
Please report to gmp-bugs at swox.com
==================================
*** Error code 1
make: Fatal error: Command failed for target `check-TESTS'
Current working directory /external/gmp-4.2.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-am'
Current working directory /external/gmp-4.2.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory /external/gmp-4.2.2/tests
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
Current working directory /external/gmp-4.2.2
*** Error code 1
make: Fatal error: Command failed for target `check'


I *KNOW* that this library is in my /usr/lib directory and up to date. 
I've also seen this posting several times before in the archives with no 
answers.  Bear in mind that I'm not a developer, but am simply trying to 
build GMP in support of the CLAMAV product.

Can anyone provide any guidance?

Thanks!
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-bugs/attachments/20070917/e73c0daf/attachment.html 


More information about the gmp-bugs mailing list