安装 Crypt-SSLeay-0.65_02 时,64 位模式下不允许使用 XCOFF32 目标文件

安装 Crypt-SSLeay-0.65_02 时,64 位模式下不允许使用 XCOFF32 目标文件

我正在 AIX 6.1 系统中安装 Perl 包 Crypt-SSLeay-0.65_02,但是在执行 perl Makefile.PL 时出现以下错误。

The test suite can attempt to connect to public servers to ensure that the
code is working properly. If you are behind a strict firewall or have no
network connectivity, these tests may fail (through no fault of the code).
Do you want to run the live tests (y/N)? [N] y
================================================================================
Output from 'openssl version -a':
OpenSSL 1.0.0c 2 Dec 2010
built on: Tue Jan 21 13:39:08 PST 2014
platform: aix64-gcc
options:  bn(64,64) rc4(ptr,char) des(idx,cisc,2,long) idea(int) blowfish(idx)
compiler: gcc -DOPENSSL_THREADS -pthread -DDSO_DLFCN -DHAVE_DLFCN_H -maix64 -O -
DB_ENDIAN -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM
OPENSSLDIR: "/usr/local/ssl"
================================================================================
gcc -I/usr/opt/perl5_64/lib/5.10.1/aix-64all/CORE -c -D_ALL_SOURCE -D_ANSI_C_SOU
RCE -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -fno-strict-aliasing -pipe -I/usr/local/
include -maix64 -DUSE_64_BIT_ALL -O -o openssl-version.o openssl-version.c
gcc -Wl,-brtl -Wl,-bdynamic -L/usr/local/lib -Wl,-b64 -o openssl-version openssl
-version.o


**ld: 0711-738 ERROR: Input file /lib/crt0.o:
        XCOFF32 object files are not allowed in 64-bit mode.
collect2: ld returned 8 exit status
Use of uninitialized value $_ in concatenation (.) or string at Makefile.PL line
41, <STDIN> line 1.
Failed to build and link a simple executable using OpenSSL:** 

看来 crt0.o 是 32 位文件,但系统是 64 位的。因此,我尝试将此文件的源代码编译为 64 位,但似乎源代码不可用。

还有其他解决方法吗?

相关内容