MantisBT - VTK
View Issue Details
0011398VTK(No Category)public2010-11-03 11:052014-10-06 11:38
Artenum 
Sebastien Jourdain 
normalmajoralways
closedfixed 
 
6.2.0 
TBD
incorrect functionality
0011398: Changing linking dynamic libraries for Java wrapping on Mac OS X
With current version of VTK CMake files, it is not possible to run VTK in Java Web Start or OSGi applications (it throws an UnsatisfiedLinkError).

As explained in details here (http://dev.artenum.com/blog/ben/posts/osgi_vtk_and_macosx [^]), this is due to the way the linking with dynamic libraries is performed.

3 changes should be done to correct this issue:
1) Change the extension name of the dynamic libraries on OSX from .dylib to .jnilib
2) Use the @loader_path prefix in each library dependency
3) Remove the version number from both the library file name and its transitive dependencies. (version numbers might be used for symbolic links, but not for the library itself)
No tags attached.
Issue History
2010-11-03 11:05ArtenumNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-10-09 14:53Sebastien JourdainProject => TBD
2012-10-09 14:53Sebastien JourdainType => incorrect functionality
2012-10-09 14:53Sebastien JourdainAssigned To => Dave DeMarle
2012-10-09 14:53Sebastien JourdainStatusexpired => backlog
2013-12-18 09:08Dave DeMarleStatusbacklog => tabled
2013-12-18 09:08Dave DeMarleTarget Version => 6.2.0
2013-12-19 10:59Dave DeMarleStatustabled => backlog
2014-09-30 10:53Dave DeMarleAssigned ToDave DeMarle =>
2014-10-06 11:38Sebastien JourdainNote Added: 0033602
2014-10-06 11:38Sebastien JourdainStatusbacklog => closed
2014-10-06 11:38Sebastien JourdainAssigned To => Sebastien Jourdain
2014-10-06 11:38Sebastien JourdainResolutionopen => fixed

Notes
(0033602)
Sebastien Jourdain   
2014-10-06 11:38   
This should be fixed with the new configuration properties VTK_JAVA_INSTALL and VTK_JAVA_CLEANUP_INSTALL.

Only one option should remain, but as today master, that's the way it is.

282c366b79189e462907238361c87d4bd3b29b94