Case · Oracle12c/11g
2008-09-03
Solaris安装Oracle10g之 libCstd.so.1 问题解决
在Solaris上安装Oracle10g时,遇到了如下一个错误:
由于客户的Solaris是比较老的机器,也没时间打补丁
一看这个错误是和编译有关的,检查日志发现果然缺少了一个C的类库:
以下是完整日志摘录:
缺少的类库包含在SUN的 SUNWlibC 包中,不过找这个包可困难了,没有光盘,SUNFREEWARE上也没找到。
还好,在SUN的另外一个站点有一个binary的:
http://dlc.sun.com/osol/devpro/downloads/current/
装上之后,Retry通过,好不容易搞定一个10g,升级到10.2.0.4了事。
-The End-
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 布隆过滤(Bloom Filter)-必须了解的优化器算法
- 2010-09-03 西藏记行- 南迦巴瓦峰 中国最美丽的山峰
- 2009-09-03 试用新浪微博 - 后Twitter时代
- 2009-09-03 2009 系统架构师大会 PPT 下载地址
- 2009-09-03 11gR2新特性之二 - Flash Cache 的SSD支持
- 2007-09-03 Oracle 11g新特性:跟踪文件名称的确定
- 2005-09-03 How to compile Oracle10g / Oracle11g BBED tools
- 2005-09-03 Using Oracle10g Release 2 KFED tools to view ASM DISK structure
- 2005-09-03 How to Use Oracle10g release 2 ASM
这个错误完整日志的路径在哪里呢?在$ORACLE_HOME/cfgtoollogs/下面吗?
在你看到错误提示的时候,Oracle就会提示你日志的路径了。