« Oracle10g DataGuard中ORA-16026错误解决 | Blog首页 | 香港的旺角 梦幻的城市 »
Solaris安装Oracle10g之 libCstd.so.1 问题解决
作者:eygle | 【转载请注出处】|【云和恩墨 领先的zData数据库一体机 | zCloud PaaS云管平台 | SQM SQL审核平台 | ZDBM 数据库备份一体机】
链接:https://www.eygle.com/archives/2008/09/solaris_oracle10g_libcstd.html
在Solaris上安装Oracle10g时,遇到了如下一个错误:链接:https://www.eygle.com/archives/2008/09/solaris_oracle10g_libcstd.html
Exception String: Error in invoking target 'all_no_orcl ihsodbc' of
makefile '/data1/oracle/product/rdbms/lib/ins_rdbms.mk'.
由于客户的Solaris是比较老的机器,也没时间打补丁
SunOS server 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Fire-880
一看这个错误是和编译有关的,检查日志发现果然缺少了一个C的类库:
fatal: file /usr/lib/sparcv9/libCstd.so.1: cannot open file: No such file or directory
以下是完整日志摘录:
INFO: - Linking liborasdkbase
INFO: /data1/oracle/product/bin/genorasdksh -base
INFO: $Id: genorasdksh.sh 02-mar-2005.16:22:46 mchengjr Exp $
INFO: Generating BASE ORASDK library...
INFO: Creating library liborasdkbase.so.10.2 and map file orasdkbase.map
in directory /data1/oracle/product/lib
INFO: ld: fatal: file /usr/lib/sparcv9/libCstd.so.1: cannot open file: No such file or directory
ld: fatal: File processing errors. No output written to /data1/oracle/product/lib/liborasdkbase.so.10.2
INFO: /data1/oracle/product/bin/genorasdksh: Failed to link liborasdkbase.so.10.2
INFO: *** Error code 1
INFO: make: Fatal error: Command failed for target `liborasdkbase'
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'all_no_orcl ihsodbc' of
makefile '/data1/oracle/product/rdbms/lib/ins_rdbms.mk'.
Exception Severity: 1
缺少的类库包含在SUN的 SUNWlibC 包中,不过找这个包可困难了,没有光盘,SUNFREEWARE上也没找到。
还好,在SUN的另外一个站点有一个binary的:
http://dlc.sun.com/osol/devpro/downloads/current/
装上之后,Retry通过,好不容易搞定一个10g,升级到10.2.0.4了事。
-The End-
历史上的今天...
>> 2012-09-03文章:
>> 2010-09-03文章:
>> 2009-09-03文章:
>> 2007-09-03文章:
>> 2005-09-03文章:
By eygle on 2008-09-03 08:53 | Comments (2) | Case | Oracle12c/11g | 2016 |
这个错误完整日志的路径在哪里呢?在$ORACLE_HOME/cfgtoollogs/下面吗?
在你看到错误提示的时候,Oracle就会提示你日志的路径了。