On Thu, 3 Jul 2014, Mark Taylor wrote:
>> You might be right. I think JNIAST and JNIHDS include everything locally
>> and don't require libraries to come from /star/lib (otherwise how would
>> standalone starjava work). I assume the
>> "/star/starjava/lib/i386:/star/starjava/lib/x86_64"
>> is still needed though?
>
> umm, think so, but I'll defer to Peter on that. TOPCAT/STILTS steer
> almost completely clear of native/shared libraries (the only exception
> is optional use of SoG in topcat).
I believe these are not required. The library loader (which Mark wrote)
looks in the relative tree if they are not found on the java.library.path.
If that doesn't work for some reason we'd need to look at the starjava
command and fix it up to define DYLD_LIBRARY_PATH, like it does for
LD_LIBRARY_PATH.
|