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

My CLASSPATH and LD_LIBRARY_PATH environment variables are set
correctly.

RH5.1 contains ld.so.1.9.5
  rpm -qa | grep ld.so
  ld.so-1.9.5-6

On a RH4.2 machine, I had to upgrade ld.so to 1.9.8 in order for this
Java app to run.  That works fine.
I also tried upgrading ld.so on another RH4.2 machine to 1.9.9 and that
did NOT let me run my Java app, it had to be 1.9.8.

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?

Thanks for your help.

-Wendy

Wendy Richardson
[EMAIL PROTECTED]

Reply via email to