[ncl-install] Mac OSX 10.12 Sierra install

Salack, Seyni (IMK) seyni.salack at kit.edu
Sat Nov 19 09:37:49 MST 2016


Hi Mary,



may be a follow-up question to Tracy's...


I upgraded my gcc yet when launch ncl, I get the following error...


How can I get out of this?


~$ ncl -V


dyld: Library not loaded: /usr/local/lib/libstdc++.6.dylib

  Referenced from: /Users/MyNCL/ncl-6.3.0/bin/ncl

  Reason: image not found

Trace/BPT trap: 5


?~$?


best regards,

Seyni





________________________________
From: ncl-install-bounces at ucar.edu <ncl-install-bounces at ucar.edu> on behalf of Mary Haley <haley at ucar.edu>
Sent: Tuesday, November 15, 2016 6:00 AM
To: Rex Tracy
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] Mac OSX 10.12 Sierra install

Since none of these files exist, then you need to create it in your home directory.

On a Mac system, I recommend creating the ".bash_profile" file (note it is not ".bashrc_profile as you typed it in your email) in your home directory, and then add the lines to set NCARG_ROOT and PATH as documented.

You can create the file in your home directly by typing one of these two commands:

vi $HOME/.bash_profile

or

vi ~/.bash_profile

"vi" is a UNIX editor. You can use whatever UNIX editor you are comfortable with.

The two lines you add should look something like this:


export NCARG_ROOT=/xxx/yyy/zzz
export PATH=$NCARG_ROOT/bin:$PATH

Where "/xxx/yyy/zzz" should be replaced with the path where you installed NCL.

Save the file, and then open a new Terminal window and type:

ncl -V

to see if it worked.

--Mary


On Mon, Nov 14, 2016 at 4:58 PM, Rex Tracy <rtracy1 at san.rr.com<mailto:rtracy1 at san.rr.com>> wrote:
I have tried to follow the instructions for installing NCL on Mac but run into trouble when looking for the appropriate file to edit to add the NCL to the PATH search line.  I do understand that I can interactively change the PATH to search via a terminal command, however, when looking for the file to edit [ .profile, .bashrc or .bashrc_profile ], I find that the file is not present under the latest OSX version ( 10.12 ) within my home directory.  Can you help me identify the location of this file ?

Thank you,
Dr. Rex Tracy
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20161119/68926167/attachment.html 


More information about the ncl-install mailing list