Re: Runtime error with NCL 6.2.1 on OS X 10.6.8 after upgrade

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu May 23 2013 - 16:02:24 MDT

You might have to help point to the new libraries.
Do you still get the exact same error?

What does:

locate libSystem.B.dylib

report? This should report all locations of this file.

--Mary

On May 23, 2013, at 11:41 AM, Chris Waigl wrote:

> Hi Mary,
>
> My default gcc is 4.2, but after this happened, I also installed gcc-4.6 so its libraries should be available. This didn't change anything.
>
> Thanks for your help, and hope you have a good time in Albany!
>
> Chris
>
> On May 22, 2013, at 6:57 PM, Mary Haley wrote:
>
>> Hi Chris,
>>
>> Sorry for the delay in response. We are teaching a workshop in Albany this week.
>>
>> I believe this problem is related to an incompatibility with gcc/gfortran compilers versions.
>> The NCL binary for MacOS10.6 was built with gcc/gfortran version 4.6.0.
>>
>> What version do you have on your system?
>>
>> gcc --version
>> gfortran --version
>>
>> --Mary
>>
>> On May 21, 2013, at 9:23 PM, Chris Waigl wrote:
>>
>>> 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
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>>
>

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Thu May 23 16:02:33 2013

This archive was generated by hypermail 2.1.8 : Mon Jul 01 2013 - 12:37:00 MDT