suse linux 10 sp2 安装domino 6.54的语言包时出现的 GLIBC_2.0 错误的处理方法

Question

In Lotus Domino® running on a Linux platform, installing the Language Pack returns the following error message:

"Unable to load native library: libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference.

Running InstallShield Wizard..."

Cause

This is a known issue with other Java applications running on Linux. It is caused by an old release of the Java Virtual Machine (JVM) that shipped with the Language Pack Installer that uses internal "glibc" symbols.

Answer

This issue was reported to Quality Engineering as SPR# PFOI62AJ2U and was determined to be a software limitation. 

The workaround consists of preloading a shared library using the LD_PRELOAD environment variable before launching the Language Pack:

 

1. Double-click the following link to obtain the file:http://people.redhat.com/drepper/libcwait.c

 

2. Check to see if "gcc" is installed with "rpm -qa | grep gcc". If not present, install "gcc". 

 

3. Compile the downloaded file with "gcc -shared -o libcwait.so -O -g libcwait.c".

 

4. Launch "export LD_PRELOAD=/path/to/libcwait.so".

 

5. Then launch the Language Pack Installer.

 

Contents of the libcwait.so file:

#include <errno.h>

#include <sys/syscall.h>

#include <sys/types.h>

#include <sys/wait.h>

pid_t

__libc_wait (int *status)

{

int res;

asm volatile ("pushl %%ebx/n/t"

"movl %2, %%ebx/n/t"

"movl %1, %%eax/n/t"

"int $0x80/n/t"

"popl %%ebx"

: "=a" (res)

: "i" (__NR_wait4), "0" (WAIT_ANY), "c" (status), "d" (0),

"S" (0));

return res;

}

 

源文档 <http://www-01.ibm.com/support/docview.wss?rs=463&context=SSKTMJ&dc=DB520&uid=swg21173500&loc=en_US&cs=UTF-8&lang=en&rss=ct463lotus>

 

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值