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

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

2010-05-28 17:46 686 查看
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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐