我正在尝试在 Solaris 11.3 上安装 Oracle 数据库,但出现以下错误:
INFO: /usr/ccs/bin/make -f /u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/ins_precomp.mk relink EXENAME=proc
INFO: Linking /u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/proc
INFO: ld: warning: file libucrypto.so.1: required by /usr/lib/sparcv9/libnsl.so, not found
INFO: Undefined first referenced
symbol in file
MD5Init /usr/lib/sparcv9/libnsl.so
INFO: MD5Final /usr/lib/sparcv9/libnsl.so
INFO: MD5Update /usr/lib/sparcv9/libnsl.so
INFO: ld: fatal: symbol referencing errors
INFO: make: Fatal error: Command failed for target `/u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/proc'
Current working directory /u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib
INFO: *** Error code 1
The following command caused the error:
echo "Linking /u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/proc"; \
rm -f /u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/proc; \
/usr/ccs/bin/ld -o /u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/proc -L/u01/app/oracle/product/11.2.0/dbhome_1/precomp/lib/ -L/u01/app/oracle/product/11.2.0/dbhome_1/lib/ -dy /u01/app/oracle/product/11.2.0/dbhome_1/lib/prod/lib/v9/crti.o /u01/app/oracle/product/11.2.0/dbhome_1/lib/prod/lib/v9/crt1.o /
由于我无法判断 libnsl.so 与 libucrypto.so.1 库没有很好地链接,这是该库的 ldd 输出:
root@hdv-snr-bta-10:~# ldd /usr/lib/sparcv9/libnsl.so
libmp.so.2 => /lib/64/libmp.so.2
libucrypto.so.1 => /lib/64/libucrypto.so.1
libc.so.1 => /lib/64/libc.so.1
libelf.so.1 => /lib/64/libelf.so.1
libcryptoutil.so.1 => /lib/64/libcryptoutil.so.1
libz.so.1 => /lib/64/libz.so.1
我的操作系统是 solaris 11.3 Sparc,
root@hdv-snr-bta-10:~# uname -a
SunOS hdv-snr-bta-10 5.11 11.3 sun4v sparc sun4v
有什么帮助吗?
答案1
Oracle Solaris 11.3 中存在一个错误,因此您必须下载最新的 SRU 并安装它以修复库链接问题。
答案2
使用此链接安装 openssl https://www.openssl.org/
并将 libucrypto 复制到所需位置。您的问题将得到解决。