<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi, Moritz – <o:p></o:p></p>
<p class="MsoNormal">Sorry for the very long delay. How the dynamic linker works on Mac is a bit of a mystery to me, and it makes new grads builds much less portable. I have no idea why your build is looking for a file in my home directory. Did you copy the
 supplibs from ftp://cola.gmu.edu/grads/Supplibs/2.2/builds/ ? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My first suggestion is to use macports to install grads. If that is not an option, try to use the environment variable LD_LIBRARY_PATH to point to locations where you want the linker to look for specific libraries. If you have libpng15.15.dylib
  on your system, add the path to LD_LIBRARY_PATH. The command:<br>
    > otool -L <i><executable or library name></i><o:p></o:p></p>
<p class="MsoNormal">will show you where the linker found the required dynamically linked libraries. Next version will just ask for libpng, not libpng15 and that may simplify things, since the current version is now libpng16.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If you really want to dig for it, libtool will install ascii file (it has a .la extension) along with the library that contains information helpful to the dynamic linker (library name aliases, version information, other dependent libs,
 etc.) That file gets a hard-coded path that you can change if it doesn’t match what’s on your system. I have used that as a workaround in the past.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Good luck! I’ll be upgrading to Big Sur myself this week and will have to rebuild my GrADS environment from scratch…
<o:p></o:p></p>
<p class="MsoNormal">--Jennifer<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">-- <span style="color:black"><br>
Jennifer Miletta Adams<br>
ADNET Systems, Inc.<br>
NASA/GSFC, Code 610.2</span><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Building 32, Room S159<br>
(301) 614-6070<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">gradsusr <gradsusr-bounces@gradsusr.org> on behalf of "Moritz Haupt (Web)" <Moritzhaupt@web.de><br>
<b>Reply-To: </b>GrADS Users Forum <gradsusr@gradsusr.org><br>
<b>Date: </b>Tuesday, May 4, 2021 at 7:49 AM<br>
<b>To: </b>"gradsusr@gradsusr.org" <gradsusr@gradsusr.org><br>
<b>Subject: </b>[EXTERNAL] [gradsusr] Problems by opening grads on Mac OS Big Sur<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Hello, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I’m trying to run grads on my Mac OS Big Sur but always when I write grads to open it this problem comes up: <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">dyld: Library not loaded: /Users/jma/grads/supplibs/lib/libpng15.15.dylib<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">  Referenced from: /usr/local/bin/grads<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">  Reason: image not found<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:8.5pt;font-family:Menlo;color:black">zsh: abort      grads</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I’m facing this problems for a view days and can’t find a solution, I tried a lot but nothing worked. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I do have the newest versions of homebrew, grads etc. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Maybe you can help me! <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you in advance!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Kind regards, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Moritz Haupt  <o:p></o:p></p>
</div>
</div>
</body>
</html>