[daip] Unable to start AIPS: Error with library libsvml.dylib on MacOS

Arnaud Collioud arnaud.collioud at u-bordeaux.fr
Wed Feb 28 07:42:21 EST 2018


Hello Eric,

Indeed the symbolic links in /usr/local/lib were pointing to my previous AIPS version (31DEC17).
After correction, AIPS started normally.

It was not clear to me I had to run the script fix_aips_elcap.sh for higher versions of Mac OS. But now it is!

>  I do not understand the @rpath reference above - have you invented some other way to get to the libraries?

No, I did nothing special on my side… So I do not know where that @rpath comes from.

Thanks!

Cheers,
A.


> Le 27 févr. 2018 à 17:41, Eric Greisen <egreisen at nrao.edu> a écrit :
> 
> On 02/27/2018 02:11 AM, Arnaud Collioud wrote:
>> Hi Amy & Eric,
>> This morning, I was not able to start AIPS due apparently to a problem when loading the library libsvml.dylib (see starting log below).
>> For information, I am using the up-to-date 31DEC18 version of AIPS on MacOS Sierra (10.12.6).
>> NB: I have two versions of this lib on my Mac ; one in the AIPS dir and one outside...
>> 	/Applications/AIPS/31DEC18/MACINT/LIBR/INTELCMP/libsvml.dylib
>> 	/usr/local/lib/libsvml.dylib
>> Cheers,
>> Arnaud
>>>>>>  aips tv=local
> 
>>> dyld: Library not loaded: @rpath/libsvml.dylib
>>>   Referenced from: /Applications/AIPS/31DEC18/MACINT/LOAD/./TPMON1
>>>   Reason: image not found
> 
> With El Capitan, Apple made the use of library paths illegal.  So we added a script fix_aips_elcap.sh which one runs.  This puts via ln -s references to the needed libraries in /usr/local/lib, pointing at the ones in $TST/MACINT/LIBR/INTELCMP and there are several.
> 
> cd /usr/local/lib
> ls -l
> 
> should show pointers to libsvml, libimf, libintlc, and libirc in the AIPS area.  The libsvml in the AIPS area can be accessed only by suck links.  I do not understand the @rpath reference above - have you invented some other way to get to the libraries?
> 
> Our main machine is running Sierra and aips has even been tested under High Sierra and this scheme has always worked.
> 
> Eric Greisen
> 





More information about the Daip mailing list