On Mon, 7 Jun 2010, tim.jenness wrote:
> On Jun 7, 2010, at 6:03 AM, Dr M J Carter wrote:
>
>> * I'd neglected to add HPC GCC's library dirs to $DYLD_LIBRARY_PATH.
>> My oops.
>>
>> * There appears to be a typo in gaia.sh (see enclosed diff file) which
>> wipes out the value of $DYLD_LIBRARY_PATH passed in. This is present
>> also in the 32-bit version, and as far back as Starlink humu. (We can
>> argue separately about the test on the outer if statement, and about
>> whether gaia.sh needs to alter $DYLD_LIBRARY_PATH at all.)
Sorry about that, my mistake. In principle the override of
DYLD_LIBRARY_PATH is needed for when Starlink is relocated (so that GAIA
can find it's own libraries not any external ones), however, since
relocation doesn't work on OS X it's really just a bit of cruft.
>> * The apparent typo is also there in the 64-bit Snow Leopard build. I
>> presume (without further investigation) that there's some other reason
>> that it fails to fail at program launch time, but suspect it could
>> yield other sorts of grief.
>>
>> Once both are fixed, gaia launches without complaints.
>>
>
> Thanks for the patch. I've applied it.
>
> So the bottom line is that it's a clash between the gfortran GCC
> libraries and the system GCC libraries but GAIA was ignoring any values
> that had been set regardless. I'm actually doing the Snow Leopard builds
> with an "ancient" gfortran from 20080801 and I don't notice an issue.
> I've never quite got around to updating it.
>
> --
> Tim Jenness
>
--
Peter W. Draper, http://astro.dur.ac.uk/~pdraper
|