<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 9/11/18 7:05 AM,
<a class="moz-txt-link-abbreviated" href="mailto:ncl-install-request@ucar.edu">ncl-install-request@ucar.edu</a> wrote:<br>
</div>
<blockquote type="cite"
cite="mid:mailman.1168.1541700328.2164.ncl-install@ucar.edu">
<table class="header-part1" cellspacing="0" cellpadding="0"
border="0" width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Subject:
</div>
[ncl-install] Problem with NCL installation in ubuntu</td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">From:
</div>
Ipsita Putatunda <a class="moz-txt-link-rfc2396E" href="mailto:ipsita.putatunda@gmail.com"><ipsita.putatunda@gmail.com></a></td>
</tr>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">Date:
</div>
9/11/18, 5:23 AM</td>
</tr>
</tbody>
</table>
<table class="header-part2" cellspacing="0" cellpadding="0"
border="0" width="100%">
<tbody>
<tr>
<td>
<div class="headerdisplayname" style="display:inline;">To:
</div>
<a class="moz-txt-link-abbreviated" href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>, <a class="moz-txt-link-rfc2396E" href="mailto:ncl-talk@ucar.eduTalk">"ncl-talk@ucar.edu Talk"</a>
<a class="moz-txt-link-rfc2396E" href="mailto:ncl-talk@ucar.edu"><ncl-talk@ucar.edu></a></td>
</tr>
</tbody>
</table>
<br>
<div class="moz-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="moz-signature">-- <br>
<meta content="text/html; charset=windows-1252"
http-equiv="content-type">
<title>email signature</title>
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">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>
</body>
</html>