<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Thanks, Jennifer! &nbsp; My student has successfully installed grads on his new Mac.</div>
<div><br>
</div>
<div>Joshua</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Jennifer Adams &lt;<a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Fri, 13 Sep 2013 17:04:10 -0400<br>
<span style="font-weight:bold">To: </span>GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<span style="font-weight:bold">Cc: </span>&quot;Yang, Zongyao&quot; &lt;<a href="mailto:Zongyao_Yang@student.uml.edu">Zongyao_Yang@student.uml.edu</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [gradsusr] How to install grads on Mac OS X 10.8.4 ?<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>The de-support of X11 by Apple is unfortunate, and that is my best polite happy face way of saying it in a public forum.&nbsp;</div>
<div><br>
</div>
<div>1. If X11 does not appear under the Applications-&gt;Utilities Menu, then you will definitely need to install XQuartz.&nbsp;</div>
<div>2. If you do have libX11.6.dlylib under /usr/X11/lib/, then you should try setting the environment variable&nbsp;&nbsp;LD_LIBRARY_PATH&nbsp;to /usr/X11/lib and see if that fixes things.</div>
<div>3.&nbsp;If setting the LD_LIBRARY_PATH environment variable doesn't solve your problem, then you will need to get to&nbsp;know the MacPorts Project (<a href="https://urldefense.proofpoint.com/v1/url?u=http://www.mactports.org&amp;k=wf2FkHoZDP5jrUw2KePZ5g%3D%3D%0A&amp;r=qsUUC4acs8C2w63cTW9n1GgnhTSdfk%2BxSgP6NoKUDus%3D%0A&amp;m=llONxhTzX2HeH%2Bthweymxz3sYtdRZB%2B8jIevaDUN8BI%3D%0A&amp;s=bbaefe2129bf79b8248977011f109b4d14a625bc6063514d3dadb8d91f9abf93">http://www.mactports.org</a>).
 &nbsp;MacPorts will effortlessly install all kinds of utilities, programs, and software libraries on your system. MacPorts puts everything under /opt/local/.&nbsp;</div>
<div><br>
</div>
<div>Great news -- I have just discovered that MacPorts has a port for GrADS! A special shout-out of thanks to 'takeshi' and 'ryandesign' -- they are the ones who have set it up. As I am writing, it is installing the supplibs...</div>
<div><br>
</div>
<div>Anyway, when I built the GrADS executables for distribution, I linked dynamically with the X11 library installed by MacPorts under /opt/local/lib/, not the native X11 under /usr/X11/lib/. I really can't say whether I did that on purpose or not. I often
 switch back and forth between the two during testing to make sure that both are working properly. And since X11 support will not be a part of native OSX in the future, it's just as well to get started using MacPorts because that will probably be the way many
 third-party tools will be supported in the future.&nbsp;</div>
<div><br>
</div>
<div>--Jennifer</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<div>
<div>On Sep 13, 2013, at 2:10 PM, Lynnes, Christopher S. (GSFC-6102) wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>On Sep 13, 2013, at 11:09 AM, &quot;Qian, JianHua&quot; &lt;<a href="mailto:JianHua_Qian@uml.edu">JianHua_Qian@uml.edu</a>&gt;<br>
wrote:<br>
<br>
<blockquote type="cite">Hi,<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">My student got a brand new Mac OS X 10.8.4. &nbsp;&nbsp;We cannot install grads on the Mac. &nbsp;<br>
</blockquote>
<blockquote type="cite">We put all the file in /usr/local/bin and /usr/local/lib as instructed in the INSTALL.<br>
</blockquote>
<blockquote type="cite">Following is the error message when we do grads:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">dyld: Library not loaded: /opt/local/lib/libX11.6.dylib<br>
</blockquote>
<blockquote type="cite">&nbsp;Referenced from: /usr/local/bin/grads<br>
</blockquote>
<blockquote type="cite">&nbsp;Reason: image not found<br>
</blockquote>
<blockquote type="cite">Trace/BPT trap: 5<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<br>
Type &quot;locate libX11.6.dylib&quot; to see if you have the X11 libraries on your disk. &nbsp;If so, you need to add the directory where they are to your LD_LIBRARY_PATH. &nbsp;<br>
<br>
However, it is more likely that you have run into the de-support of X11, which used to come standard with Mac OS. &nbsp;Now, however, it does not, so you need a third party package for X11. &nbsp;One package for this is XQuartz:<br>
<a href="https://urldefense.proofpoint.com/v1/url?u=http://xquartz.macosforge.org/landing/&amp;k=wf2FkHoZDP5jrUw2KePZ5g%3D%3D%0A&amp;r=qsUUC4acs8C2w63cTW9n1GgnhTSdfk%2BxSgP6NoKUDus%3D%0A&amp;m=llONxhTzX2HeH%2Bthweymxz3sYtdRZB%2B8jIevaDUN8BI%3D%0A&amp;s=71686f595bae205df651bd61dcbc0089661ddb1d17f884fbf1490beed1ad1fdf">http://xquartz.macosforge.org/landing/</a><br>
<br>
<blockquote type="cite">Thanks!<br>
</blockquote>
<blockquote type="cite">Joshua<br>
</blockquote>
<blockquote type="cite">_______________________________________________<br>
</blockquote>
<blockquote type="cite">gradsusr mailing list<br>
</blockquote>
<blockquote type="cite"><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
</blockquote>
<blockquote type="cite"><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
<br>
--<br>
Dr. Christopher Lynnes, NASA/GSFC, ph: 301-614-5185<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div>
</blockquote>
</div>
<br>
<div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; ">
<div>--</div>
<div>Jennifer M. Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
111 Research Hall, Mail Stop 2B3<br>
George Mason University<br>
4400 University Drive<br>
Fairfax, VA 22030&nbsp;<br>
<br>
</div>
<div><br class="khtml-block-placeholder">
</div>
<br class="Apple-interchange-newline">
</span></span></div>
</span></span><br class="Apple-interchange-newline">
</div>
<br>
</div>
</div>
_______________________________________________ gradsusr mailing list <a href="mailto:gradsusr@gradsusr.org">
gradsusr@gradsusr.org</a> <a href="http://gradsusr.org/mailman/listinfo/gradsusr">
http://gradsusr.org/mailman/listinfo/gradsusr</a> </span>
</body>
</html>