Solaris安装Oracle10g之libCstd.so.1问题解决
网络整理 - 06-30
在Solaris上安装Oracleg时遇到了如下一个错误Exception String: Error in invoking target all_no_orcl ihsodbc of
makefile /data/oracle/product/rdbms/lib/ins_rdbmsmk
由于客户的Solaris是比较老的机器也没时间打补丁
SunOS server Generic_ sunu sparc SUNWSunFire
一看这个错误是和编译有关的检查日志发现果然缺少了一个C的类库
fatal: file /usr/lib/sparcv/libCstdso: cannot open file: No such file or directory
以下是完整日志摘录
INFO: Linking liborasdkbase
INFO: /data/oracle/product/bin/genorasdksh base
INFO: $Id: genorasdkshsh mar:: mchengjr Exp $
INFO: Generating BASE ORASDK library
INFO: Creating library liborasdkbaseso and map file orasdkbasemap
in directory /data/oracle/product/lib
INFO: ld: fatal: file /usr/lib/sparcv/libCstdso: cannot open file: No such file or directory
ld: fatal: File processing errors No output written to /data/oracle/product/lib/liborasdkbaseso
INFO: /data/oracle/product/bin/genorasdksh: Failed to link liborasdkbaseso
INFO: *** Error code
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 /data/oracle/product/rdbms/lib/ins_rdbmsmk
Exception Severity:
缺少的类库包含在SUN的 SUNWlibC 包中不过找这个包可困难了没有光盘SUNFREEWARE上也没找到
还好在SUN的另外一个站点有一个binary的
装上之后Retry通过好不容易搞定一个g升级到了事
The End