Solaris 10 u10 安装 Oracle 10g2 链接时出现错误的解决方法问题描述:Exception String: Error in invoking target "client_sharedlib" of makefile "/u01/app/oracle/product/10.2.0/db_1/network/lib/ins_net_client.mk". See"/u01/app/oracle/oraInventory/logs/installActions2012-02-21_11-03-51AM.log" for details.
查看make.log得到如下信息*** Error code 1make: Fatal error: Command failed for target `client_sharedlib"/usr/ccs/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1//u01/app/oracle/product/10.2.0/db_1/bin/genclntshld: fatal: symbol "ntcontab" in file /u01/app/oracle/product/10.2.0/db_1/lib/libn10.a(ntcontab.o): section [3].data: size 0x60: symbol (address 0, size 0x70)lies outside of containing sectionld: fatal: file processing errors. No output written to /u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1genclntsh: Failed to link libclntsh.so.10.1在网上找了很久,发现大概有两种处理办法。1、是Oracle的版本与Solaris的版本不匹配,说是将64的介质安装在32位的系统上。但是我可以确定我的Oracle和Solaris的版本是对应的。2、环境变量配置不正确,但是我也找了些安装Oralce10g的文档,基本上都应该配置了,我的环境变量配置如下:MAIL=/usr/mail/${LOGNAME:?} --这个创建完Oracle就存在的,其它是我增加的DISPLAY=localhost:0.0
export DISPLAY
ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORACLE_HOME
ORACLE_SID=solarisOracle01
export ORACLE_SID
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK
export NLS_LANG
PATH=$ORACLE_HOME/bin:/bin:/sbin:/usr/ccs/bin:/usr/local/bin
export PATH
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:/usr/local/lib
export LD_LIBRARY_PATH
umask 022
解决方法:这是个BUG,解决方案如下。CauseUnpublished bug:Bug 6791866 - ASSEMBLER CODE GENERATED BY GENNTTAB CAUSES LD ERROR IN LATEST SOLARIS BUILDSWhich states:Always in the latest Solaris buildsSolaris 11 [Nevada]andSolaris 10 Update 10 and above ( Solaris 10 8/11 )due to stricter integrity checking in the linker (ld)orOS patch 144501-19 installed.SolutionFor versions 10.1.x through 10.2.0.x use the following workaroundIf this occurs during an installation of the base release or patchset, you will get a pop-up for the link error providing the following options, "Retry or Continue". Leave this popup and login to a new session as the owner of the ORACLE_HOME, and complete the following:1. cd $ORACLE_HOME/bin2. cp gennttab gennttab_orig3. vi gennttab将这段配置中的112改成96修改前:ntcontab:.type ntcontab,@object.size ntcontab,112.align 4修改后:ntcontab:.type ntcontab,@object.size ntcontab,96.align 44. cd $ORACLE_HOME/network/libexecute command/usr/ccs/bin/make -f ins_net_client.mk ntcontab.oexecute command$ORACLE_HOME/bin/genclntsh5.现在点retry 就好了更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12保持Oracle数据库的优良性能的几种办法Oracle恢复内部原理(块修复)相关资讯 Solaris 10 Oracle 10g2
- 通过网络给sparc环境安装Solaris (12/25/2014 09:01:00)
- VMware 下 Solaris 10 安装 (06/16/2013 15:18:11)
- Solaris 10 u10 编译Qt 4.7.5 备记 (03/23/2013 07:10:55)
| - Solaris 10上为Oracle 11g安装设置 (06/01/2014 10:14:23)
- CentOS 6.4 (x86_64) 安装 Oracle (04/09/2013 18:21:03)
- Solaris 10 开启SSH (02/07/2013 10:05:59)
|
本文评论 查看全部评论 (0)