sybase 12.5.4/sybase 15.0.2在redhat as5下srvbuildres出错解决

sybase 12.5.4/sybase 15.0.2 安装

OS: redhat as5 32bit 64bit

[@more@]

srvbuildrs 时提示libXm.so.3无法找到:

rpm -ivh openmotif-2.3.0-0.3.el5.i386.rpm
rpm -ivh openmotif-2.3.0-0.3.el5.x86_64.rpm
ln -s /usr/lib64/libXm.so.4 /usr/lib64/libXm.so.3

su - sybase

在创建服务时提示:segmentation fault

用:export LD_POINTER_GUARD=0

Installing/Running ASE on systems with glibc 2.4.x (Fedora Core 5, etc)

ASE (12.5.x, 15.x) will not run on a system with glibc 2.4.x (that’s Fedora Core 5 and later, among others). Here is a work-around, supplied by "Chris" in sybase.public.ase.linux:

Symptoms of the problem are ASE’s failing to build when you run the installer, or "Segmentation Fault" when trying to start an ASE instance. The Seg Fault happens right after Engine ) is brought online in the error log.
If you are running Fedora Core 5 or 6
You will need to set the environment variable LD_POINTER_GUARD to 0, in your sybase .profile, as follows:

 
 

Alternatively, just export this from the shell. If you haven’t built any ASE’s yet, you’ll need to export this before running the installer, otherwise ASE will fail to build. If you are trying to boot an already installed ASE, then put it in your .profile / .bash_profile or export it as an environment variable before starting ASE.
If you are running Ubuntu / Kubuntu "Edgy"
You will need to set the environment variable LD_POINTER_GUARD to 1 in your sybase .profile, as follows:

 
 

I googled around a bit trying to find out what the LD_POINTER_GUARD thingie did and ran across a posting / blog where it talked about insome glibc versions it’s backwards … RedHat just made a change I guess and that’s why you have to set it to "0" for Fedora and "1" for Ubuntu / Kubuntu / Debian (glibc 2.4). Same info applies if you are building a new ASE.
If you are running Suse 10.1 You will need to set the environment variable LD_POINTER_GUARD to 1 in your sybase .profile, as follows:

 
 

Same discussion as for Ubuntu.
I’ve tried all of the above they all work with the workaround listed. Happy ASE-ing! I’ve tested all of the above distros (sorry it took me so long, was on the road a lot over the last several weeks) and they allow ASE to boot; the workaround should be valid for ASE 15.x and 12.x (prolly even for 11.x if you wanted to try).

http://www.zjspace.com/xspace/?5/viewspace-4682

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10445189/viewspace-998415/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10445189/viewspace-998415/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值