![]() |
![]() |
|
SAS watchout page
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). |
| Copyright 2010© European Space Agency. All rights reserved. |