Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/watchout/7.0/omichain_problem_with_ghostscript_rhel4_u4.shtml
Дата изменения: Unknown
Дата индексирования: Sat Dec 22 15:30:53 2007
Кодировка:

Поисковые слова: orion nebula
XMM-Newton SAS: Watchout Page RGS spectrum of HR1099
Home Watchouts Software requirements Installation Download Documentation Calibration Help

On RHEL 4 update 4, omichain (and omfchain) fail to run properly due to a changed version of ghostscript.

Currently we have identified failures of omichain and omfchain, due to subsequent failures on ghostscript (gs).

The reason for these failures is that once the SAS 7.0 environment is set, all SAS binaries and all other system tasks use the LD_LIBRARY_PATH to search for shared libraries on execution time. On RHEL 4 update 4, ghostscript depends on a new version of the libgcc_s.so shared library, in particular on the libgcc_s.so library introduced by gcc 4.1. Since SAS 7.0 was built with gcc 3.3.6, its libgcc_s.so library is missing the required symbols and functions used by this new version of ghostscript. However this is the first shared library found in the LD_LIBRARY_PATH path.

To override the problem, prepend the /lib directory to the search path for shared libraries as follows:

setenv LD_LIBRARY_PATH /lib:$LD_LIBRARY_PATH (C-shell/tcsh)

export LD_LIBRARY_PATH=/lib:$LD_LIBRARY_PATH (sh/bash/ksh)

This problem will be fixed in the next SAS release.


Pages maintained by SAS librarian.
Any question about SAS should be addressed to the XMM-Newton help desk.

Updated on: October 27, 2006