运行oracle DBD :: Oacle安装得到这个“无法find或打开文件:/lib32/crt0_64.o”

在AIX中安装DBD :: Oracle时,出现以下错误。 oracle客户端版本是11.2,我不知道我会错过这个。

Running Mkbootstrap for DBD::Oracle () chmod 644 Oracle.bs rm -f blib/arch/auto/DBD/Oracle/Oracle.so LD_RUN_PATH="/u01/app/oracle/product/11.2/lib32:/u01/app/oracle/product/11.2/rdbms/lib32" ld -bhalt:4 -G -bI:/usr/opt/perl5/lib/5.10.1/aix-thread-multi/CORE/perl.exp -bE:Oracle.exp -bnoentry -lpthreads -lc -lm -L/usr/local/lib Oracle.o dbdimp.o oci8.o /lib32/crt0_64.o -o blib/arch/auto/DBD/Oracle/Oracle.so -L/u01/app/oracle/product/11.2/lib32/ -lclntsh -lld -lm -ldl -lc -lm -lpthreads -lodm -lbsd_r -lld -lperfstat -lm -lpthreads ld: 0706-005 Cannot find or open file: /lib32/crt0_64.o ld:open(): No such file or directory make: The error code from the last command is 255. 

由于perl编译器的问题,oracle版本是64位,perl版本是32位。 当我运行Makefile时,它正在用perl 32位版本编译,而不能find一些库文件。

所以在做“MakeFile”之前,确保你的oracle和perl版本是一样的。 如果不是,请为perl 64位编译器安装或创build软链接。