SAS Watchout

After installing SAS 19.1.0 for macOS (sas_19.1.0-macOS-10.15.7.tgz) on macOS Catalina (v10.15.7) or on macOS BigSur (V11.2.3), running either on Intel or on the new Apple processor M1, with SIP enabled, I got an error message similar to the following:

  dyld: Symbol not found: ___emutls_get_address
  Referenced from: /Users//SAS/xmmsas_20210317_1624/bin/../libextra/libstdc++.6.dylib
  Expected in: /usr/lib/libSystem.B.dylib

How to fix this problem?

Please download the package fix_xmmsas_20210317_1624-19.1.0-macOS-10.15.7-libextra.tar.gz, which is available here and proceed to install it as follows:

  • Copy the package downloaded to the SAS 19.1.0 installation directory, xmmsas_20210317_1624.
  • Within such directory, save the subdirectory libextra, as follows:
      # mv libextra libextra_save
  • Unpack the tgz archive as follows:
       # tar zxf fix_xmmsas_20210317_1624-19.1.0-macOS-10.15.7-libextra.tar.gz
  • The unpacking should produce a new libextra subdirectory, with the same files available in the saved one but with the proper settings to fix this problem.

From now onwards, new downloads of SAS 19.1.0 for macOS include this fix.