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

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 18 2012 - 08:57:37 MST

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

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Wed Jan 18 08:57:44 2012

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