Hi,

I have been trying to get Net::SSH for Perl loaded on all of our
machines for use by the developers.  I am getting the following on
Math-GMP when I try to compile

cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/usr/bin/perl -I/usr/perl5/5.6.1/lib/sun4-solaris-64int
-I/usr/perl5/5.6.1/lib /usr/perl5/5.6.1/lib/ExtUtils/xsubpp  -typemap
/usr/perl5/5.6.1/lib/ExtUtils/typemap -typemap typemap GMP.xs >
GMP.xsc && mv GMP.xsc GMP.c
cc -c  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend
-DVERSION=\"2.04\"  -DXS_VERSION=\"2.04\" -KPIC
-I/usr/perl5/5.6.1/lib/sun4-solaris-64int/CORE  GMP.c
ucbcc: Warning: Option
-YP,:/usr/ucblib:/opt/SUNWspro/WS6U2/bin/../lib:/opt/SUNWspro/WS6U2/bi
n:/usr/ccs/lib:/usr/lib passed to ld, if ld is invoked, ignored
otherwise
"GMP.xs", line 4: Can't find include file gmp.h
*** Error code 2
make: Fatal error: Command failed for target `GMP.o'

on one box and on the other

cp lib/Math/GMP.pm blib/lib/Math/GMP.pm
AutoSplitting blib/lib/Math/GMP.pm (blib/lib/auto/Math/GMP)
/usr/local/bin/perl /usr/local/lib/perl5/5.8.2/ExtUtils/xsubpp
-typemap /usr/local/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap
GMP.xs > GMP.xsc && mv GMP.xsc GMP.c
/opt/SUNWspro/bin/cc -c    -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O    -DVERSION=\"2.04\"  -DXS_VERSION=\"2.04\"
-KPIC "-I/usr/local/lib/perl5/5.8.2/sun4-solaris/CORE"   GMP.c
Running Mkbootstrap for Math::GMP ()
chmod 644 GMP.bs
rm -f blib/arch/auto/Math/GMP/GMP.so
LD_RUN_PATH="/usr/local/lib" /opt/SUNWspro/bin/cc  -G -L/usr/lib
-L/usr/ccs/lib -L/opt/SUNWspro/WS6U2/lib -L/usr/local/lib GMP.o  -o
blib/arch/auto/Math/GMP/GMP.so   -lgmp
ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
blib/arch/auto/Math/GMP/GMP.so
*** Error code 1
make: Fatal error: Command failed for target
`blib/arch/auto/Math/GMP/GMP.so'

Any help would be greatly appreciated.  I have auditors breathing down
my neck about security.

Thanks.

Michelle Ly
Systems Administrator II
Univeristy of Michigan - Flint

Reply via email to