Research & Science Home ESA Public Web Site Sci-Tech Portal      XMM-Newton Public Web Site XMM-Newton Sci-Tech Portal
Astrophysics Missions Planetary Exploration Missions Solar Terrestrial Science Missions Fundamental Physics Missions Science Faculty

SAS watchout page


A library error prevents me from running any SAS tasks. What have I done wrong?

Although it is possible that SAS was not correctly installed (please check the SAS installation pages), the reason may lay in your LHEASOFT version. LHEASOFT 5.1 and SAS 5.3.0 make use of a shared version of the CFITSIO library. Unfortunately, the version distributed with LHEASOFT 5.1 is not compatible with SAS 5.3.0. In this case, errors like the following may appear when you try and start any SAS tasks:

unix> sasversion
ld.so.1: sasversion: fatal: relocation error: file /xmm/xmmsas_5.3.0/lib/libslatec.so.1.36: symbol __floatdidf: referenced symbol not found
Killed

To solve this problem, make sure that you first initialize LHEASOFT and later SAS. For instance:

source $LHEASOFT/lhea-init.csh
source $SAS_DIR/sas-setup.csh

or

.$LHEASOFT/lhea-init.sh
.$SAS_DIR/sas-setup.sh

   Copyright 2012© European Space Agency. All rights reserved.
This page was last updated on 22 February, 2011.