problem

Ulrich Drepper drepper at redhat.com
Fri Jul 2 06:40:30 UTC 2004


Alexander Apprich wrote:

>> Unable to load native library:
>> /opt/f-secure/fspmc/jre/lib/i386/libjava.so:symbol __libc_wait, version
>> GLIBC_2.0 not defined in file libc.so.6 with link time reference
>>
>> Can enyone tell me what could i do??
>>
> 
> That comes from the NPTL (Native Posix Threating Library). What could
> help is a
> 
>     LD_ASSUME_KERNEL=2.4.1
>     export LD_ASSUME_KERNEL

No, that's wrong.  The problem is that Sun used an internal symbol of
the C library which isn't available anymore (for quite some time, in
fact).  Work around this by downloading and compiling

  ftp://people.redhat.com/drepper/libcwait.c

with

  gcc -shared -fpic -o libcwait.so libcwait.c

and then use

  LD_PRELOAD=/path/to/libcwait.so the-program args...

to start the program.

A search in the mailing list archive or in google certainly would have
told you this.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖





More information about the users mailing list