On Mon, 12 Oct 1998 09:52:09 -0400, Wendy Richardson wrote:

>Hi,
>
>I am trying to run a Java application on RH5.1 with a glibc version of
>jre1.1.6v5.  My Java app uses JNI and X/Motif in the native part (legacy
>code).
>I get the following error:
>
>jre Jsaf
>libc.so.5: cannot open shared object file: No such file or directory
>(libfoo.so)
>Class not found: Jsaf

libc.so.5 ???  Should this not be libc.so.6 for a GLIBC system?
Could you be running the libc5 version of the JDK?

>Does anyone have any suggestions for what might be wrong with my
>configuration on RH5.1?  I wasn't able to find a newer version
>of ld for RH5.1.
>
>Is it ok to use a shared object file (*.so) that was built on RH4.2 on a
>RH5.1 machine with Java & JNI?

Hmmm... I don't know.  I have never tried to mix LIBC5 and GLIBC too
much.  RedHat 5.0 has libc5 libraries so that you can run the libc5
binaries.  However, if your JNI code needs to interact with the green
threads based function wrappers you may end up having problems.  It
is something I have yet to ever try.

(I tend to try to stay in 100% Java whenever possible)


Michael Sinz -- Director of Research & Development, NextBus Inc.
mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com
My place on the web ---> http://www.users.fast.net/~michael_sinz

Reply via email to