On Fri, Feb 25, 2011 at 12:00:50AM +0000, STARDEV automatic digest system wrote:
[snip]
> 9784 (timj):
> jni: Rebuild the OSX 64-bit libraries so that they use -install_name
>
> The JNI libraries on OSX were built with the build path burned in as
> the install name. This was preventing SPLAT from loading its JNI
> library because it depends on libjniast. At build time libsplat was
> configured to load libjniast from the jniast build directory and
> for all except the person building SPLAT this directory was not
> present.
>
> Now force -install_name of JNI libraries to be the actual
> installed name (/star/starjava/lib/$arch/libx.jnilib). SPLAT
> now seems to load properly.
Rats: Does this mean we have to maintain the otherwise-redundant /star
symlink, or roll our own builds? That would be an entire nuisance on
setups such as ours, where we've given the users the ability to select
which of two or more Starlink builds to use at runtime by (indirectly)
setting ${STARLINK_DIR} appropriately.
.... I know, I know, we should all upgrade everyone. Easier said than
done. Apologies for being today's grit in the works.
--
Dr Martin J Carter
Computer System Administrator
Astrophysics, University of Oxford
x 73291
|