<br><font size=3 face="sans-serif">I'm trying to build and install gmp
using either version 4.2.1 or 4.2.2 on a Solaris 8 (sparc) machine.</font>
<br>
<br><font size=3 face="sans-serif">I've installed gcc 3.4.6 and gcclib
3.4.6 on this machine, and get repeated errors trying to run "make
check":</font>
<br>
<br><font size=3 face="sans-serif">make check-TESTS</font>
<br><font size=3 face="sans-serif">ld.so.1: t-bswap: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-bswap</font>
<br><font size=3 face="sans-serif">ld.so.1: t-constants: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-constants</font>
<br><font size=3 face="sans-serif">ld.so.1: t-count_zeros: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-count_zeros</font>
<br><font size=3 face="sans-serif">ld.so.1: t-gmpmax: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-gmpmax</font>
<br><font size=3 face="sans-serif">ld.so.1: t-hightomask: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-hightomask</font>
<br><font size=3 face="sans-serif">ld.so.1: t-modlinv: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-modlinv</font>
<br><font size=3 face="sans-serif">ld.so.1: t-popc: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-popc</font>
<br><font size=3 face="sans-serif">ld.so.1: t-parity: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-parity</font>
<br><font size=3 face="sans-serif">ld.so.1: t-sub: fatal: libgcc_s.so.1:
open failed: No such file or directory</font>
<br><font size=3 face="sans-serif">FAIL: t-sub</font>
<br><font size=3 face="sans-serif">==================================</font>
<br><font size=3 face="sans-serif">9 of 9 tests failed</font>
<br><font size=3 face="sans-serif">Please report to gmp-bugs@swox.com</font>
<br><font size=3 face="sans-serif">==================================</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-TESTS'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2/tests</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-am'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2/tests</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-recursive'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2/tests</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-recursive'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check'</font>
<br>
<br><font size=3 face="sans-serif">Also tried the "unrecommended"
export LD_LIBRARY_PATH to point to the missing libgcc_s.so.1 and get:</font>
<br>
<br><font size=3 face="sans-serif">make check-TESTS</font>
<br><font size=3 face="sans-serif">ld.so.1: t-bswap: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-bswap</font>
<br><font size=3 face="sans-serif">ld.so.1: t-constants: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-constants</font>
<br><font size=3 face="sans-serif">ld.so.1: t-count_zeros: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-count_zeros</font>
<br><font size=3 face="sans-serif">ld.so.1: t-gmpmax: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-gmpmax</font>
<br><font size=3 face="sans-serif">ld.so.1: t-hightomask: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-hightomask</font>
<br><font size=3 face="sans-serif">ld.so.1: t-modlinv: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-modlinv</font>
<br><font size=3 face="sans-serif">ld.so.1: t-popc: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-popc</font>
<br><font size=3 face="sans-serif">ld.so.1: t-parity: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-parity</font>
<br><font size=3 face="sans-serif">ld.so.1: t-sub: fatal: /usr/lib/libgcc_s.so.1:
wrong ELF class: ELFCLASS32</font>
<br><font size=3 face="sans-serif">FAIL: t-sub</font>
<br><font size=3 face="sans-serif">==================================</font>
<br><font size=3 face="sans-serif">9 of 9 tests failed</font>
<br><font size=3 face="sans-serif">Please report to gmp-bugs@swox.com</font>
<br><font size=3 face="sans-serif">==================================</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-TESTS'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2/tests</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-am'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2/tests</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-recursive'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2/tests</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check-recursive'</font>
<br><font size=3 face="sans-serif">Current working directory /external/gmp-4.2.2</font>
<br><font size=3 face="sans-serif">*** Error code 1</font>
<br><font size=3 face="sans-serif">make: Fatal error: Command failed for
target `check'</font>
<br>
<br>
<br><font size=3 face="sans-serif">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.</font>
<br>
<br><font size=3 face="sans-serif">Can anyone provide any guidance?</font>
<br>
<br><font size=3 face="sans-serif">Thanks!<br>
</font><font size=4> </font>
<p><font size=3><br>
</font>