暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

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

原创 eygle 2008-09-03
755
在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-



「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论

TA的专栏
数据库简史
收录22篇内容
DeepSeek与人工智能
收录20篇内容