srvbuildres: error while loading shared libraries: libXm.so.3

sybase 安裝報錯 srvbuildres: error while loading shared libraries:    libXm.so.3

  創建adapterserver的時候報錯如上

sybase版本信息

[root@localhost sample_resource_files]# dataserver -v
Adaptive Server Enterprise/12.5.4/EBF 16800 ESD#10/P/x86_64/Enterprise Linux/ase1254/2159/64-bit/OPT/Mon Nov  2 03:14:39 200

linux版本信息

[root@localhost sample_resource_files]# lsb_release -a
LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release:        5.5
Codename:       Tikanga

解決辦法

安裝libXp-1.0.0-8.1.el5.x86_64.rpm

安裝openmotif-2.3.1-2.el5_4.1.x86_64.rpm

cd /usr/ib64/

ln libXm.so.4 libXm.so.3

編輯 rs文件,用srvbuild -r xxx.rs重新創建adapterserver解決

[root@localhost sample_resource_files]# vim srvbuild.adaptive_server.rs 
[root@localhost sample_resource_files]# srvbuild -r srvbuild.adaptive_server.rs
[root@localhost sample_resource_files]# showserver 
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
0 S root     20037 20036  0  75   0 - 41195 stext  04:15 ?        00:00:04 /opt/sybase/ASE-12_5/bin/dataserver -slocalhost -d/opt/sybase/data/master.dat -e/opt/sybase/ASE-12_5/install/localhost.log -c/opt/sybase/ASE-12_5/localhost.cfg -M/opt/sybase/ASE-12_5


 


 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章