Building 32-bit libs on Solaris 9??

Chuck Carson chuck.carson at
Thu Jul 21 17:57:21 CEST 2005

I'm trying to use the Net::SSH::Perl module which has a slew of
dependencies, some of which require Math::GMP which requires gmp. I
built gmp w/o problems but when trying to build Math::GMP, is
complains about wrong ELF class.

LD_RUN_PATH="/usr/local/lib" gcc -B/usr/ccs/bin/  -G -L/usr/local/lib
-L/opt/gnu/lib GMP.o  -o blib/arch/auto/Math/GMP/   -lgmp
ld: fatal: file /usr/local/lib/ wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Math/GMP/] Error 1

Is there anyone to build compatibile libraries?


More information about the gmp-discuss mailing list