Linux下安装ArcSDE的一种典型错误和解决方法

本文介绍在Oracle10.2.0.1与Linux环境下安装ArcSDE9.3.1过程中遇到的两个常见错误及其解决方案。错误涉及缺少libg2c.so.0和libXm.so.3共享库,通过安装特定rpm包成功解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1 环境说明:

Oracle10.2.0.1_linux_x86_64

Linux RadHat Enterprise5_64

ArcSDE 9.3.1 For Linux_oracle10g_64

2安装步骤参考:

http://wenku.baidu.com/view/66bf0375f46527d3240ce056.html

http://www.gisall.com/?uid-5624-action-viewspace-itemid-2903

3 安装过程常出现的一种错误

1error while loading shared libraries: libg2c.so.0: cannot open shared object file: No such file or directory

2error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory

这两个安装错误常见于ESRI社区,如http://forums.esri.com/Thread.asp?c=158&f=2285&t=233254

http://bbs.esrichina-bj.cn/ESRI/thread-57786-1-1.html

4 分析和解决方法

(1)出现该问题的命令是:sdesetup -o install -d ORACLE10G -p sde

(2)报错后,对sdesetup进行分析(ldd sdesetup),查询缺失的相关安装文件。

(3)结果显示,缺失libg2c.so.0libXm.so.3

(4)搜索libg2c.so.0的相关资源,可以在http://rpm.pbone.net/index.php3/stat/4/idpl/13949405/dir/redhat_el_4/com/libf2c-3.4.6-3.1.x86_64.rpm.html下载libf2c-3.4.6-3.1.x86_64.rpm,分析libf2c-3.4.6-3.1.x86_64.rpm的内容(rpm -qpl),结果显示可安装libg2c.so.0,如下图所示:

(5)安装libf2c-3.4.6-3.1.x86_64.rpm

(6)搜索libXm.so.3的相关资源,在http://rpm.pbone.net/index.php3/stat/4/idpl/8080818/com/openmotif22-2.2.3-18.x86_64.rpm.html下载openmotif22-2.2.3-18.src.rpm,分析openmotif22-2.2.3-18.src.rpm的内容(rpm -qpl),结果显示可安装libXm.so.3,如下图所示:

(7)安装openmotif22-2.2.3-18.src.rpm

(8)再次分析sdesetup,发现缺失的so文件已经补上,问题得到解决。如下图所示:


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值