[ncl-install] Runtime error with NCL 6.2.1 on OS X 10.6.8 after upgrade

Chris Waigl chris.waigl at gi.alaska.edu
Tue May 21 19:23:07 MDT 2013


All,

I upgraded NCL from 6.1.0 to 6.2.1 on my Mac (OS X 10.6.8 Snow Leopard) by downloading the precompiled binaries (OpenDAP enabled). Everything appears to be working fine, until I try to print to png files. Code snippet:

===
outputtype = "png"
...
xwks = gsn_open_wks(outputtype, "filename")
=== 

The error appears the first time plot is called on this workstation. Error message:

===
dyld: lazy symbol binding failed: Symbol not found: ___emutls_get_address
  Referenced from: /usr/local/ncl-6.1.2/bin/ncl
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: ___emutls_get_address
  Referenced from: /usr/local/ncl-6.1.2/bin/ncl
  Expected in: /usr/lib/libSystem.B.dylib
===

The file /usr/lib/libSystem.B.dylib does exist:

===
chris$ ls -lAF /usr/lib/libSystem*
-r-xr-xr-x  1 root  wheel  6890816 Jun  7  2011 /usr/lib/libSystem.B.dylib*
-r-xr-xr-x  1 root  wheel  8996800 Dec  8  2010 /usr/lib/libSystem.B_debug.dylib*
-r-xr-xr-x  1 root  wheel  7096080 Dec  8  2010 /usr/lib/libSystem.B_profile.dylib*
lrwxr-xr-x  1 root  wheel       17 Apr 27  2010 /usr/lib/libSystem.dylib@ -> libSystem.B.dylib
-rw-r--r--  1 root  wheel    75820 May 18  2009 /usr/lib/libSystemStubs.a
-rw-r--r--  1 root  wheel    75820 May 18  2009 /usr/lib/libSystemStubs_debug.a
-rw-r--r--  1 root  wheel    75924 May 18  2009 /usr/lib/libSystemStubs_profile.a
lrwxr-xr-x  1 root  wheel       23 Apr  8  2011 /usr/lib/libSystem_debug.dylib@ -> libSystem.B_debug.dylib
lrwxr-xr-x  1 root  wheel       25 Apr  8  2011 /usr/lib/libSystem_profile.dylib@ -> libSystem.B_profile.dylib
===

The error does not occur if I print to pdf instead of png. It also didn't occur with 6.1.0 before the upgrade. 

Has anyone seen anything like this? Is this a problem with my environment or with the way the executable is compiled? 

Thanks,

Chris Waigl


More information about the ncl-install mailing list