64位的机器上安装Perl模块出错,请问如何解决?

64位的机器上安装Perl模块出错,请问如何解决?

64位的机器上安装Perl模块出错

安装Date-Calc-5.4 这个模块的时候报错

(onld)FNS:/fns/d/r/cat/Date-Calc-5.4>make install
        rm -f blib/arch/auto/Date/Calc/Calc.so
        LD_RUN_PATH="" ld  -bhalt:4 -bM:SRE -bI:/usr/opt/perl5/lib/5.8.2/aix-thread-multi/CORE/perl.exp -bE:Calc.exp -bnoentry
-lpthreads -lc_r Calc.o  DateCalc.o  -o blib/arch/auto/Date/Calc/Calc.so
ld: 0711-738 ERROR: Input file Calc.o:
        XCOFF32 object files are not allowed in 64-bit mode.
make: 1254-004 The error code from the last command is 8.


Stop.


请问这种问题如何解决?

增加一个环境变量  
export OBJECTMODE=64
再去编译看看...