Re: NCL missing library? (Running under Snow Leopard 64-bit, 10.6.8)

From: Luis C. Cana Cascallar <lcana_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 18 2012 - 09:02:51 MST

Thanks Mary,

I've found the missing library under /usr/lib instead of /usr/local/lib. Just linked to the library from /usr/local/lib and it's working ...

--Luis
El 18/01/2012, a las 15:57, Mary Haley escribió:

> Hi Luis,
>
> Do you have any libstc++.xxx files on your system? If so, and they are in a different location than /usr/local/lib, then you may need to add this path to your DYLD_LIBRARY_PATH environment variable.
>
> export DYLD_LIBRARY_PATH=/some/path/here
>
> or
>
> setenv DYLD_LIBRARY_PATH /some/path/here
>
> If you already have a DYLD_LIBRARY_PATH set:
>
>
> export DYLD_LIBRARY_PATH=/some/path/here:$DYLD_LIBRARY_PATH
>
> or
>
> setenv DYLD_LIBRARY_PATH /some/path/here:$DYLD_LIBRARY_PATH
>
> If you are missing the library, then you may need to install XCode on your Mac.
>
>
> --Mary
>
> On Jan 17, 2012, at 11:44 AM, Luis C. Cana Cascallar wrote:
>
>> Hi all,
>>
>> I've downloaded the file ncl_ncarg-6.0.0.MacOS_10.6_64bit_nodap_gcc421.tar.gz uncompressed and installed under the following directory:
>>
>> /Users/lcana/Lib/ncl-6.0.0
>>
>> After that, I've added the NCARG_ROOT path in my .profile (I'm using bash) and sourced this file again.
>>
>> I have no problems when running 'classic' commands, as 'ncargex' or 'idt'; however, when I try to run ncl scripts I find the following warning:
>>
>> =========================================
>> lcana1:~ lcana$ ncl
>> dyld: Library not loaded: /usr/local/lib/libstdc++.6.dylib
>> Referenced from: /Users/lcana/Lib/ncl-6.0.0/bin/ncl
>> Reason: image not found
>> Trace/BPT trap
>> =========================================
>>
>> Why? The tarball doesn't provide this library. Is it needed?
>>
>> Thanks in advance,
>>
>> Luis
>>
>> Luis C. Cana Cascallar
>> lcana@dfis.ulpgc.es
>>
>> <Luis Cesareo Cana Cascallar.gif>
>>
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>

Luis C. Cana Cascallar
lcana@dfis.ulpgc.es
Received on Wed Jan 18 09:03:03 2012

This archive was generated by hypermail 2.1.8 : Wed Jan 18 2012 - 09:23:17 MST