您的位置:首页 > 运维架构 > Linux

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

2012-07-16 18:18 621 查看
http://www.gisall.com/html/01/120501-3077.html

环境说明:

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
安装过程常出现的一种错误

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

(2)error 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
分析和解决方法

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

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

(3)                   结果显示,缺失libg2c.so.0和libXm.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文件已经补上,问题得到解决。如下图所示:
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: