BEA Weblogic 7 on Fedora Core1

Ulrich Drepper drepper at redhat.com
Thu Nov 27 19:17:53 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oliver Kiessler wrote:
> can anyone make sense of this.... ?
> 
> Error occurred during initialization of VM
> Unable to load native library:
> /usr/bea/jdk131_06/jre/lib/i386/libjava.so: symbol __libc_wait, version
> GLIBC_2.0 not defined in file libc.so.6 with link time reference

That means BEA's JVM is another one of the programs which is broken
since it uses internal glibc symbols and which hasn't been fixed in the
3 years since we first pointed this out.  Until RHL9 there was a work
around in place but, as can be seen, work arounds simply only lead to
not fixing bugs.

At

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

you find a file which you can compile with

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

to get a DSO which you then can preload with

  LD_PRELOAD=/path/to/libcwait.so java ARGS...

- -- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/xk3h2ijCOnn/RHQRAi0FAJ9DSjQbsb/kqT0F29X8jOOD1rkYDQCgtssQ
qW3DDLkRkBmPXb4+7P9LKvo=
=EV9E
-----END PGP SIGNATURE-----





More information about the fedora-list mailing list