Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/watchout/7.1/ghostscript_problem_in_rhel3u4_rhel4.shtml
Дата изменения: Unknown
Дата индексирования: Sun Apr 13 06:01:01 2008
Кодировка:
XMM-Newton SAS: Watchout Page RGS spectrum of HR1099
Home Documentation Watchouts Help Calibration Installation Software requirements Download

Some SAS tasks which produce ouotput in postscript, do not work and give an error. Why?

Since Update 4 of Red Hat Enterprise Linux 3 and for all updates of Red Hat Enterprise Linux 4, SAS tasks using ghostscript to produce postscript output, crash with the following error text:

gs:

.../xmmsas_20070708_1801/libextra/libgcc_s.so.1:

version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)

convert: Postscript delegate failed

The problem arises due to the new version of ghostscript requires a higher version of the libgcc_so.so to what is found first in the SAS modified LD_LIBRARY_PATH variable.

In order to solve this problem, you must apply the following fix:

setenv LD_LIBRARY_PATH /lib:${LD_LIBRARY_PATH} (csh/tcsh)

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

This problem occurs mainly in recent distributions of Linux, e.g. RHEL 4, RHEL 5, Ubuntu, FC 5, FC 6, SuSE 10.X, etc, and will be fixed when SAS be built on the latest versions of gcc (from 4.X onwards).


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

Updated on: July 18, 2007