New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem loading apropriate library #17
Comments
I have reproduced this failure on my machine, I'm not sure why it happens but I'll investigate. |
libs are in multi-arch path on debian, that's the only thing I can think of. I'll use strace to check |
Well the bug seems to lie in TestDICOMJava directly. You are required to load each libs (vtkCommon...) in order before the vtk-dicom one. |
The Java test works fine if VTK is in its build directory, but if VTK is installed, it doesn't work. The bug is in VTK itself, in vtkSettings.java: it looks for the vtk-java shared libs in the same directory as vtk.jar, even though they are installed in different directories (/usr/lib/jni vs. /usr/share/java). So, yeah, I can't rely on VTK to load the libraries, instead my test program will have to find & load all the libraries by itself. |
Library-loading code has been added to the test (commit 51c53d2). |
For some reason the java test does not seems to be loading the lib properly, see:
https://bugs.debian.org/752097
The text was updated successfully, but these errors were encountered: