Install Math::GMP

Kevin Ryde user42 at
Thu Oct 23 07:56:21 CEST 2003

"Al Pacheco" <pacheco at> writes:
> ld: fatal: file /usr/local/lib/ wrong ELF class: ELFCLASS64

You have probably built libgmp in the 64-bit ABI (the default for gmp
on sparcv9 solaris), but it looks like perl was built for the 32-bit.

You can build gmp with

	./configure ABI=32

to make it match.  (See ABI and ISA in the manual for more info.)

PS. All bug reports to the gmp-bugs list, not gmp-discuss.

More information about the gmp-discuss mailing list