SAS watchout

In Mac OS X, the execution of some tasks, e.g. epproc, omsource, etc, produces the error:

dyld: Library not loaded: /sasbuild/local/xmac01/libpng_1.2.51/lib/libpng12.0.dylib

Referenced from: /Users/user/SAS/xmmsas_20141104_1833/lib/libssc.4.28.dylib

Reason: image not found

Trace/BPT trap

How to fix this problem?

For those users that have downloaded SAS 14.0.0 built on Mac OS X 10.9.5 (Mavericks) before 16:30 CET of the 14th of November 2014, two extra libraries were missing from the distribution tar balls: libpng12.0.dylib and libquadmath.0.dylib.

The error reported in the title of this watchout is the symptom of the absence in $SAS_DIR/libextra of the libpng12.0.dylib library. However, if such library were present, the absence of libquadmath.0.dylib would produce a similar error.

To fix both problems, please download and install the two missing libraries from here. Once the two small tar balls are downloaded, please unpack them directly in the $SAS_DIR/libextra directory of your SAS 14.0.0 installation.