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

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

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

在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-


历史上的今天...
      >> 2010-09-03文章:
      >> 2009-09-03文章:
             试用新浪微博 - 后Twitter时代
      >> 2007-09-03文章:
      >> 2005-09-03文章:
             How to Use Oracle10g release 2 ASM

By eygle on 2008-09-03 08:53 | Comments (2) | Del.icio.us | Google | Case | Oracle10g/11g | Edit |Pageviews:

无觅

搜索本站:

2 Comments

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

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

发表留言



CopyRight © 2004~2012 eygle.com, All rights reserved.
数据恢复·紧急救援·联系我们:电话:010-59459859 手机:13911812803 邮件:eygle@eygle.com|MSN联系:eygle@hotmail.com