eygle.com   eygle.com
eygle.com eygle
eygle.com  
 

« Oracle10g DataGuard中ORA-16026错误解决 | Blog首页 | 香港的旺角 梦幻的城市 »

Solaris安装Oracle10g之 libCstd.so.1 问题解决
modb.pro

在Solaris上安装Oracle10g时,遇到了如下一个错误:
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 |

2 Comments

这个错误完整日志的路径在哪里呢?在$ORACLE_HOME/cfgtoollogs/下面吗?

在你看到错误提示的时候,Oracle就会提示你日志的路径了。


CopyRight © 2004~2020 云和恩墨,成就未来!, All rights reserved.
数据恢复·紧急救援·性能优化 云和恩墨 24x7 热线电话:400-600-8755 业务咨询:010-59007017-7040 or 7037 业务合作: marketing@enmotech.com