Hi Nikolaus,

Sorry, I've been unable to reproduce this issue. Can you tell me
specifically what version of MDSplus version you're running, as well as
any specific configure options that you built it with, so I can further
attempt to reproduce what you're seeing? I also tried running
NativeTest.java from bug 737603 as you did and it loaded the JavaMDS
library just fine; however, I noticed when strace'ing it that it never
attempted to open libhpi.so in doing so, and I'm not sure why (hence my
asking for configure options that may affect this).

I should also point out that bug 737603 is a bit of a red herring; I re-
examined the openjdk-6 packaging and the patch for bug 737603 is
included in the package but is not actually applied during the build (I
was going to prepare a test package for you with that patch
disabled...).

A couple more things to look at to diagnose this:

* can you run 'ldd /opt/mdsplus/lib/libJavaMds.so' to confirm that it's
the library itself that has the dependency on libhpi.so?

* can you re-run the NativeTest.java test, both with the older version
of java installed where it succeeds and the failing versions, with the
addition of the LD_DEBUG environment variable set to 'all' (i.e. add
'LD_DEBUG=all' to the command line)? I'd like to see what symbols are
causing libhpi.so to get pulled in and how the resolution is happening.

Thanks, and my apologies for the difficulties this upgrade has caused.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027122

Title:
  JNI applications fail because shared libraries cannot be found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1027122/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to