[ncl-install] Problem with NCL installation in ubuntu

Ipsita Putatunda ipsita.putatunda at gmail.com
Sat Nov 10 06:40:53 MST 2018


Thank you all for your support.
Now ubuntu is working fine with this
"ncl_ncarg-6.5.0-SuSE12_64bit_gnu620.tar.gz"  and
sudo apt-get update
sudo apt-get install ncl-ncarg.

Thanks,
Ipsita

On Fri, Nov 9, 2018 at 12:19 AM Sam McClatchie via ncl-install <
ncl-install at ucar.edu> wrote:

> On 9/11/18 7:05 AM, ncl-install-request at ucar.edu wrote:
>
> Subject:
> [ncl-install] Problem with NCL installation in ubuntu
>
> From:
> Ipsita Putatunda <ipsita.putatunda at gmail.com> <ipsita.putatunda at gmail.com>
>
> Date:
> 9/11/18, 5:23 AM
>
> To:
> ncl-install at ucar.edu, "ncl-talk at ucar.edu Talk" <ncl-talk at ucar.eduTalk>
> <ncl-talk at ucar.edu> <ncl-talk at ucar.edu>
> Dear all,
> I am using Linux with Ubuntu 16.04, and gcc version 5.3.1.
> I have tried installing NCL in my system as per NCL installation
> instructions.
> I have tried "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-
>
> ncl: error while loading shared libraries: libiconv.so.2: cannot open
> shared object file: No such file or directory.
> Please suggest me how to solve this issue.
>
> Thanks in advance,
> Ipsita
>
>
> Hello
>
> 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.
>
> Mary, You were quite right about needing the 64-bit
> libraries. Here are my notes:
>
> smcc at nakrasana:~$ ncl
> ncl: error while loading shared libraries: libssl.so.0.9.8: wrong ELF
> class: ELFCLASS32
>
> smcc at nakrasana:~$ locate libssl.so.0.9.8
> /lib/i386-linux-gnu/libssl.so.0.9.8
> /opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8
> /opt/mendeleydesktop/lib/ssl/libssl.so.0.9.8
> /usr/lib/i386-linux-gnu/libssl.so.0.9.8
> /var/lib/dropbox/.dropbox-dist/libssl.so.0.9.8
> smcc at nakrasana:~$ echo $LD_LIBRARY_PATH
> /usr/lib/i386-linux-gnu
>
> I was rather surprised to see that the SSL shared libraries were not
> installed on my system even though SSL was installed. I found what
> looked to be the correct library on the software center (libssl0.9.8)
> and installed it.
>
> Opened a new terminal and searched again for the libraries:
>
> smcc at nakrasana:~$ locate libssl.so.0.9.8
> /lib/i386-linux-gnu/libssl.so.0.9.8
> /lib/x86_64-linux-gnu/libssl.so.0.9.8
> /opt/Adobe/Reader9/Reader/intellinux/lib/libssl.so.0.9.8
> /opt/mendeleydesktop/lib/ssl/libssl.so.0.9.8
> /usr/lib/i386-linux-gnu/libssl.so.0.9.8
> /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8
> /var/lib/dropbox/.dropbox-dist/libssl.so.0.9.8
> smcc at nakrasana:~$
>
> This time the 64-bit libraries show up, so I pointed the LD_LIBRARY_PATH
> variable to the 64-bit library in ~/.bashrc:
> # settings for NCL smcc 5/20/2012
> export NCARG_ROOT=/usr/share/ncl
> export PATH=$NCARG_ROOT/bin:$PATH
> export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libssl.so.0.9.8
> (NOTE: make sure the path is being kept by opening a new terminal and
> echoing)
>
> Started a new terminal and checked the shell variable
> smcc at nakrasana:~$ echo $LD_LIBRARY_PATH
> /usr/lib/x86_64-linux-gnu/libssl.so.0.9.8
>
> Started the open-dap enabled NCL and all is well.
> Best fishes
> Sam
> --
> Sam McClatchie (fisheries oceanographer)
> & Elena Turin (accounting & auditing)
> FishOcean Enterprises
> 38 Upland Rd, Huia, Auckland 0604, New Zealand
> cell: 027 752 8495
> Internet <http://www.fishocean.info>
>
>
> "The time has come", the tui said,
> "to talk of many things:
> Of songs - and ferns - and flowering flax,
> of Pukekos and dreams ..."
>
> (not Lewis Carroll)
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20181110/68f1121e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SamMcClatchie2_small.jpg
Type: image/jpeg
Size: 45362 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20181110/68f1121e/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SamMcClatchie2_small.jpg
Type: image/jpeg
Size: 45362 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-install/attachments/20181110/68f1121e/attachment-0003.jpg>


More information about the ncl-install mailing list