<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Ok, I have determined why I was having so many issues installing the latest version of GrADS (v2.2.1) the other day... My system is 64-bit and i was trying to install the 32-bit version... Doh!</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Here are the commands that I used for v2.2.1:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="font-family: "Courier New", monospace; font-size: 10pt;">cd /usr/local/lib/grads      </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">wget ftp://cola.gmu.edu/grads/data2.tar.gz      </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">tar -zxvf data2.tar.gz     </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">cd       </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">clear       </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">wget ftp://cola.gmu.edu/grads/Supplibs/2.2/builds/supplibs-centos7.4-x86_64.tar.gz      </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">tar -zxvf supplibs-centos7.4-x86_64.tar.gz     </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo apt-get install libcurl4-openssl-dev libssl1.0.0 libssl-dev libjpeg62-dev libgeotiff-dev</span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo apt-get install libtiff-dev    </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo apt-get install libcurl4-openssl-dev libssl1.0.0 libssl-dev libjpeg62-dev libgeotiff-dev</span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /usr/local/lib/grads/supplibs/libpng15.so.15 /usr/lib/   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /usr/local/lib/grads/supplibs/libhdf5.so.8 /usr/lib/   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /usr/local/lib/grads/supplibs/libnetcdf.so.7 /usr/lib/   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /usr/local/lib/grads/supplibs/libhdf5_hl.so.8 /usr/lib/   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /usr/local/lib/grads/supplibs/libtiff.so.3 /usr/lib/   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /usr/local/lib/grads/supplibs/libgeotiff.so /usr/lib/   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /usr/lib/libcrypto.so.10   </span><br>
<span style="font-family: "Courier New", monospace; font-size: 10pt;">sudo apt-get install libjpeg62-dev  </span> 
<br>
</div>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">Thanks,<br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font></font></div>
<span style="font-size:12pt"></span>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font style="" size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:11pt"><b><span style="font-size:12pt">Aaron
 D. Perry</span></b></span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Class of 2016</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Lyndon State College</span></font><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt">Twitter: </span></font><font size="2"><span style="font-size:11pt"><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"><span style="font-size:12pt">@arnpry</span></a></span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" face="Calibri,Arial,Helvetica,sans-serif" color="#006FC9"><span style="font-size:12pt">Email: </span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font size="2" face="Calibri,Arial,Helvetica,sans-serif"><span style="font-size:12pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Perry, Aaron <Aaron.Perry@lsc.vsc.edu><br>
<b>Sent:</b> Tuesday, June 12, 2018 5:16:38 AM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] GrADS 2.2 Ubuntu Installation</font>
<div> </div>
</div>
<meta content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0; margin-bottom:0">Thanks Jennifer!</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">After following those instructions for libpng15.so.15, I am now receiving the following error in my terminal:</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"><i></i><span><i>error while loading shared libraries: libpng15.so.15: wrong ELF class: ELFCLASS64</i></span><br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><br>
</span></font></font></div>
<span style="font-size:12pt"></span>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9" style=""><span style="font-size:11pt"><b><span style="font-size:12pt">Aaron
 D. Perry</span></b></span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt">Class of 2016</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><br>
</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt">Lyndon State College</span></font><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt"><br>
Lyndonville, VT 05851</span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font size="2" color="#006FC9"><span style="font-size:12pt">Twitter: </span></font><font size="2"><span style="font-size:11pt"><a href="https://twitter.com/arnpry" target="_blank" id="LPNoLP"><span style="font-size:12pt">@arnpry</span></a></span></font></font></div>
<div style="color:rgb(0,0,0); font-family:Tahoma; font-size:13px"><font face="Calibri,Arial,Helvetica,sans-serif"><font face="Calibri,Arial,Helvetica,sans-serif" size="2" color="#006FC9"><span style="font-size:12pt">Email: </span></font><a href="http://Aaron.Perry@lyndonstate.edu/" target="_blank" id="LPNoLP"><font face="Calibri,Arial,Helvetica,sans-serif" size="2"><span style="font-size:12pt">Aaron.Perry@lyndonstate.edu</span></font></a></font></div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gradsusr <gradsusr-bounces@gradsusr.org> on behalf of Jennifer M Adams <jadams21@gmu.edu><br>
<b>Sent:</b> Monday, June 11, 2018 6:15:55 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] GrADS 2.2 Ubuntu Installation</font>
<div> </div>
</div>
<div class="x_BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="x_PlainText">Aaron — <br>
I did a google search: “site:gradsusr.org libpng15.so.15” and was reminded of this excellent post from Muhammad Yunus Ahmad Mazuki:
<br>
<a href="http://gradsusr.org/pipermail/gradsusr/2018-May/041695.html">http://gradsusr.org/pipermail/gradsusr/2018-May/041695.html</a><br>
You may not need to duplicate every step, but you will find libpng15.so.15 in the supplibs tarball.
<br>
—Jennifer<br>
<br>
<br>
<br>
> On Jun 11, 2018, at 5:11 PM, Perry, Aaron <Aaron.Perry@lsc.vsc.edu> wrote:<br>
> <br>
> I am trying to install GrADS 2.2 on a new Ubuntu (64-bit) system. I have followed all steps from the INSTALL file and when I try to run the executable, I get the following error:<br>
>  <br>
> /home/weather/grads/bin/grads: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory<br>
> <br>
> What might I be doing wrong?<br>
> <br>
> Aaron D. Perry<br>
> Class of 2016<br>
> Lyndon State College<br>
> Lyndonville, VT 05851<br>
> Twitter: @arnpry<br>
> Email: Aaron.Perry@lyndonstate.edu<br>
> _______________________________________________<br>
> gradsusr mailing list<br>
> gradsusr@gradsusr.org<br>
> <a href="http://secure-web.cisco.com/1tsIZKYlrbZx64cm69jibPehAAaaDuYMsVP7bz-VrSnryN4MWk8ge_oY5hCUQh_IhPDsfJpw6gzQMQW69mvJHfZS8BhgEEq4h7bA287BV15_mELR3MT7qVVBmK3khAEDu3xCOTiOOR5mUnGDwd13vMZIgcGUJl1biOqQi5YZIlnW_4oqvJroHy94B62ruhAr0n3AZKzG-OX8AUDWtM4ia_UWk2-ctFET6SIKacDYUnZ8n3dZnkERDnQlIKm89AWhs0QpW-fsEIXV4K1XgplrEBYHrBYDZ3sic37RjVMYFR_WiqEQQKdR9PvUTLXdqFgZB2WukIU-QPpvTf6wigOnkiyVzPLZ1qoLV7YVQuaWPnIvdxescQn0u7Rt7ZXehSUrz/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr">
http://secure-web.cisco.com/1tsIZKYlrbZx64cm69jibPehAAaaDuYMsVP7bz-VrSnryN4MWk8ge_oY5hCUQh_IhPDsfJpw6gzQMQW69mvJHfZS8BhgEEq4h7bA287BV15_mELR3MT7qVVBmK3khAEDu3xCOTiOOR5mUnGDwd13vMZIgcGUJl1biOqQi5YZIlnW_4oqvJroHy94B62ruhAr0n3AZKzG-OX8AUDWtM4ia_UWk2-ctFET6SIKacDYUnZ8n3dZnkERDnQlIKm89AWhs0QpW-fsEIXV4K1XgplrEBYHrBYDZ3sic37RjVMYFR_WiqEQQKdR9PvUTLXdqFgZB2WukIU-QPpvTf6wigOnkiyVzPLZ1qoLV7YVQuaWPnIvdxescQn0u7Rt7ZXehSUrz/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr</a><br>
<br>
--<br>
Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
gradsusr@gradsusr.org<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div>
</span></font></div>
</div>
</body>
</html>