<div dir="ltr"><div dir="ltr"><div dir="ltr">Thank you all for your support.<div>Now ubuntu is working fine with this </div><div>"ncl_ncarg-6.5.0-SuSE12_64bit_gnu620.tar.gz" and</div><div><div>sudo apt-get update</div><div>sudo apt-get install ncl-ncarg.</div></div><div><br></div><div><span style="line-height:1.5">Thanks,</span><br></div><div>Ipsita</div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Nov 9, 2018 at 12:19 AM Sam McClatchie via ncl-install <<a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div class="m_1240784242972594165moz-cite-prefix">On 9/11/18 7:05 AM,
<a class="m_1240784242972594165moz-txt-link-abbreviated" href="mailto:ncl-install-request@ucar.edu" target="_blank">ncl-install-request@ucar.edu</a> wrote:<br>
</div>
<blockquote type="cite">
<table class="m_1240784242972594165header-part1" cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td>
<div class="m_1240784242972594165headerdisplayname" style="display:inline">Subject:
</div>
[ncl-install] Problem with NCL installation in ubuntu</td>
</tr>
<tr>
<td>
<div class="m_1240784242972594165headerdisplayname" style="display:inline">From:
</div>
Ipsita Putatunda <a class="m_1240784242972594165moz-txt-link-rfc2396E" href="mailto:ipsita.putatunda@gmail.com" target="_blank"><ipsita.putatunda@gmail.com></a></td>
</tr>
<tr>
<td>
<div class="m_1240784242972594165headerdisplayname" style="display:inline">Date:
</div>
9/11/18, 5:23 AM</td>
</tr>
</tbody>
</table>
<table class="m_1240784242972594165header-part2" cellspacing="0" cellpadding="0" border="0" width="100%">
<tbody>
<tr>
<td>
<div class="m_1240784242972594165headerdisplayname" style="display:inline">To:
</div>
<a class="m_1240784242972594165moz-txt-link-abbreviated" href="mailto:ncl-install@ucar.edu" target="_blank">ncl-install@ucar.edu</a>, <a class="m_1240784242972594165moz-txt-link-rfc2396E" href="mailto:ncl-talk@ucar.eduTalk" target="_blank">"ncl-talk@ucar.edu Talk"</a>
<a class="m_1240784242972594165moz-txt-link-rfc2396E" href="mailto:ncl-talk@ucar.edu" target="_blank"><ncl-talk@ucar.edu></a></td>
</tr>
</tbody>
</table>
<br>
<div class="m_1240784242972594165moz-text-html" lang="x-unicode">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Dear all,</div>
<div>I am using Linux with Ubuntu 16.04, and gcc
version 5.3.1.</div>
<div>I have tried installing NCL in my system as per
NCL installation <span style="line-height:1.5">instructions.</span></div>
<div><span style="line-height:1.5">I have tried "</span>ncl_ncarg-6.5.0-Debian8.11_64bit_nodap_gnu492.tar.gz",
"ncl_ncarg-6.5.0-SuSE12_64bit_gnu620.tar.gz",
both, but getting the following error-</div>
<div><br>
</div>
<div>ncl: error while loading shared libraries:
libiconv.so.2: cannot open shared object file: No
such file or directory.</div>
<div>Please suggest me how to solve this issue.</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Ipsita</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
Hello<br>
<br>
I had a problem with shared libraries on Ubuntu some time ago. Mary
Haley suggested that I might need the 64-bit libraries. Here is how
I solved the problem on my Ubuntu system. <br>
<p>Mary, You were quite right about needing the 64-bit <br>
libraries. Here are my notes:
</p>
<p>
smcc at nakrasana:~$ ncl<br>
ncl: error while loading shared libraries: libssl.so.0.9.8: wrong
ELF <br>
class: ELFCLASS32</p>
<p>
smcc at nakrasana:~$ locate libssl.so.0.9.8<br>
/lib/i386-linux-gnu/libssl.so.0.9.8<br>
/opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8<br>
/opt/mendeleydesktop/lib/ssl/libssl.so.0.9.8<br>
/usr/lib/i386-linux-gnu/libssl.so.0.9.8<br>
/var/lib/dropbox/.dropbox-dist/libssl.so.0.9.8<br>
smcc at nakrasana:~$ echo $LD_LIBRARY_PATH<br>
/usr/lib/i386-linux-gnu
</p>
<p>
I was rather surprised to see that the SSL shared libraries were
not <br>
installed on my system even though SSL was installed. I found what
<br>
looked to be the correct library on the software center
(libssl0.9.8) <br>
and installed it.
</p>
<p>
Opened a new terminal and searched again for the libraries:
</p>
<p>
smcc at nakrasana:~$ locate libssl.so.0.9.8<br>
/lib/i386-linux-gnu/libssl.so.0.9.8<br>
/lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
/opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8<br>
/opt/mendeleydesktop/lib/ssl/libssl.so.0.9.8<br>
/usr/lib/i386-linux-gnu/libssl.so.0.9.8<br>
/usr/lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
/var/lib/dropbox/.dropbox-dist/libssl.so.0.9.8<br>
smcc at nakrasana:~$
</p>
<p>
This time the 64-bit libraries show up, so I pointed the
LD_LIBRARY_PATH <br>
variable to the 64-bit library in ~/.bashrc:<br>
# settings for NCL smcc 5/20/2012<br>
export NCARG_ROOT=/usr/share/ncl<br>
export PATH=$NCARG_ROOT/bin:$PATH<br>
export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libssl.so.0.9.8<br>
(NOTE: make sure the path is being kept by opening a new terminal
and echoing)
</p>
<p>
Started a new terminal and checked the shell variable<br>
smcc at nakrasana:~$ echo $LD_LIBRARY_PATH<br>
/usr/lib/x86_64-linux-gnu/libssl.so.0.9.8
</p>
<p>
Started the open-dap enabled NCL and all is well.
</p>
Best fishes<br>
Sam<br>
<div class="m_1240784242972594165moz-signature">-- <br>
Sam McClatchie (fisheries oceanographer)<br>
& Elena Turin (accounting & auditing)<br>
FishOcean Enterprises<br>
38 Upland Rd, Huia, Auckland 0604, New Zealand<br>
cell: 027 752 8495<br>
<span style="text-decoration:underline"><a href="http://www.fishocean.info" target="_blank">Internet</a></span><br>
<img style="width:150px;height:149px" alt="" src="cid:part2.F2EE95C8.B8E0BAA7@fishocean.info"><br>
<br>
"The time has come", the tui said,<br>
"to talk of many things:<br>
Of songs - and ferns - and flowering flax,<br>
of Pukekos and dreams ..."<br>
<br>
(not Lewis Carroll)
</div>
</div>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
</blockquote></div>