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

来源:互联网 发布:网红喵大仙的淘宝店 编辑:程序博客网 时间:2024/04/30 06:50

sybase 安装报错 srvbuildres: error while loading shared libraries:    libXm.so.3

  创建adapterserver的时候报错如上

sybase版本信息

[root@localhost sample_resource_files]# dataserver -vAdaptive 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 -aLSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarchDistributor ID: RedHatEnterpriseServerDescription:    Red Hat Enterprise Linux Server release 5.5 (Tikanga)Release:        5.5Codename:       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 CMD0 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


 


 

0 0