On Thu, 3 Jul 2014, Tim Jenness wrote:
> Well, it looks like the fix for starjava is to
>
> 1. Remove all the starjava [DY]LD_LIBRARY_PATH setting in etc/login/profile
> 2. Modify the starjava script to fix up DYLD_LIBRARY_PATH in the same way it fixes up LD_LIBRARY_PATH. Clearly the fix for
> linux was not also done for OS X. That may need some tweaking to simply unset any foreign load path (why does starjava need
> any of it? but maybe SPLAT can't load NDF files without loading libndf.dylib?)
>
> If SPLAT really needs $STARLINK_DIR/lib/libndf.dylib to load then obviously the libjpeg problem needs to be fixed properly.
Hmm, I believe there are no properly external dependencies for the JNI
shared libraries. The only issue is that libsplat depends on libjniast,
and that isn't handled by Java.
|