<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Mack,<div><br></div><div>It seems that a number of system libraries are installed incorrectly on your system. As with the libbz2 library, you can try googling the error, as there's usually several references to a solution.</div><div><br></div><div>On our Linux system, libcurl-gnutls.so.4.2.0 is linked to libcurl.a:</div><div><br></div><div><div><font face="Courier">lrwxrwxrwx 1 root root 16 Nov 26 10:26 /usr/lib/libcurl.a -> libcurl-gnutls.a</font></div></div><div><font face="Courier">-rw-r--r-- 1 root root 432996 Nov 19 16:01 /usr/lib/libcurl-gnutls.a<br>-rw-r--r-- 1 root root 979 Nov 19 16:01 /usr/lib/libcurl-gnutls.la<br>lrwxrwxrwx 1 root root 23 Nov 26 10:26 /usr/lib/libcurl-gnutls.so -> libcurl-gnutls.so.4.2.0<br>lrwxrwxrwx 1 root root 19 Nov 26 10:26 /usr/lib/libcurl-gnutls.so.3 -> libcurl-gnutls.so.4<br>lrwxrwxrwx 1 root root 23 Nov 26 10:26 /usr/lib/libcurl-gnutls.so.4 -> libcurl-gnutls.so.4.2.0<br>-rw-r--r-- 1 root root 320056 Nov 19 16:01 /usr/lib/libcurl-gnutls.so.4.2.0</font><br><br></div><div>You need to make sure you have libcurl installed on your system, and that it was installed correctly.</div><div><br></div><div>--Mary</div><div><br></div><div>On Feb 3, 2014, at 1:13 PM, Mack J. Jenkins <<a href="mailto:mack.jenkins@eas.gatech.edu">mack.jenkins@eas.gatech.edu</a>> wrote:<br><br><blockquote type="cite">Actually, that worked, but now it has generated a new issue. I think this one is just I need to find the correct package for libcurl-gnutls.<br><br>ncl: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory<br><br>And if I try creating a sym link to the <br><br>/usr/lib/libcurl-gnutls.so.4<br><br>It complains that it is the 32bit version. But this is at least progress.<br><br>--<br>Mack J. Jenkins, II<br>404-385-1591<br><a href="mailto:mack.jenkins@eas.gatech.edu">mack.jenkins@eas.gatech.edu</a><br>System Support Engineer II<br>Earth & Atmospheric Sciences<br><br>From: "Mary Haley" <haley@ucar.edu><br>To: "Mack J. Jenkins" <mack.jenkins@eas.gatech.edu><br>Cc: "ncl-install@ucar.edu ncl-install@ucar.edu" <ncl-install@ucar.edu><br>Sent: Friday, January 31, 2014 2:04:18 PM<br>Subject: Re: [ncl-install] ncl - libbz2 shared libraries<br><br>Mack,<br><br>The issue appears to be that you don’t have the file “/lib64/libbz2.so.1.0”. <br><br>You have "/lib64/libbz2.so.1.0.6” and "/lib64/libbz2.so.1”, but NCL wants "/lib64/libbz2.so.1.0”.<br><br>I looked on various LINUX systems that we have, and we always have all three files:<br><br>lrwxrwxrwx 1 root root 15 Mar 25 2012 /lib64/libbz2.so.1 -> libbz2.so.1.0.6<br>lrwxrwxrwx 1 root root 15 Mar 25 2012 /lib64/libbz2.so.1.0 -> libbz2.so.1.0.6<br>-rw-r--r-- 1 root root 66944 Dec 26 2011 /lib64/libbz2.so.1.0.6<br><br>You should try googling this error message. I found several suggestions, some of which suggested linking the file yourself:<br><br>sudo ln -s /lib64/libbz2.so.1.0.6 /lib64/libbz2.so.1.0<br><br>This method is not generally recommended, however, because it’s just a hack for what is potentially a broken install of bz2.<br>Did you try reinstalling bz2?<br><br>—Mary<br><br>On Jan 31, 2014, at 9:53 AM, Mack J. Jenkins <mack.jenkins@eas.gatech.edu> wrote:<br><br>[root@server]# ls -l /lib/libbz2*<br>lrwxrwxrwx 1 root root 15 Feb 21 2012 /lib/libbz2.so.1 -> libbz2.so.1.0.6<br>lrwxrwxrwx 1 root root 15 Jan 27 09:46 /lib/libbz2.so.1.0 -> libbz2.so.1.0.6<br>lrwxrwxrwx 1 root root 15 Jan 27 09:47 /lib/libbz2.so.1.0.4 -> libbz2.so.1.0.6<br>-rwxr-xr-x 1 root root 62056 Oct 29 2011 /lib/libbz2.so.1.0.6<br><br><br>[root@server]# ls -l /lib64/libbz2*<br>lrwxrwxrwx 1 root root 15 Nov 10 2011 /lib64/libbz2.so.1 -> libbz2.so.1.0.6<br>-rwxr-xr-x 1 root root 62848 Oct 29 2011 /lib64/libbz2.so.1.0.6<br><br><br>I went and looked, there is a <br>/lib64/libbz2.so.1 that points to /lib64/libbz2.so.1.0.6<br><br><br>As for how was bzip2 installed, it's a binary that was installed with Yast. <br><br><br>--<br>Mack J. Jenkins, II<br>404-385-1591<br>mack.jenkins@eas.gatech.edu<br>System Support Engineer II<br>Earth & Atmospheric Sciences<br><br>----- Original Message -----<br>From: "Mary Haley" <haley@ucar.edu><br>To: "Mack J. Jenkins" <mack.jenkins@eas.gatech.edu><br>Cc: ncl-install@ucar.edu, "Brandon Fisel" <bjfisel@gmail.com><br>Sent: Tuesday, January 28, 2014 6:33:23 PM<br>Subject: Re: [ncl-install] ncl - libbz2 shared libraries<br><br>It still looks like there's something odd about your bz2 libraries. You have:<br><br>/lib/libbz2.so.1<br>/lib/libbz2.so.1.0<br>/lib/libbz2.so.1.0.4<br>/lib/libbz2.so.1.0.6<br>/lib64/libbz2.so.1<br>/lib64/libbz2.so.1.0.6<br><br>It's a bit suspicious that you have 1.0.6 and 1.0.4 versions.<br><br>What does:<br><br>ls -l /lib/libbz2*<br>ls -l /lib64/libbz2*<br><br>report? <br><br>Also, the fact that there's no "/lib64/libbz2.so.1.0" file is also suspicious.<br><br>How was bz2 installed? On two of our Linux systems, it looks like this:<br><br>lrwxrwxrwx 1 root root 15 Mar 25 2012 /lib/libbz2.so.1 -> libbz2.so.1.0.4<br>lrwxrwxrwx 1 root root 15 Mar 25 2012 /lib/libbz2.so.1.0 -> libbz2.so.1.0.4<br>-rw-r--r-- 1 root root 70428 Dec 26 2011 /lib/libbz2.so.1.0.4<br><br>--Mary<br><br>On Jan 28, 2014, at 7:46 AM, Mack J. Jenkins <mack.jenkins@eas.gatech.edu> wrote:<br><br>I am having this same issue, and after running the ldd I get the following.<br><br>[root@server]# ldd ncl<br>./ncl: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by ./ncl)<br> linux-vdso.so.1 => (0x00007fff3f9ed000)<br> libcurl-gnutls.so.4 => /usr/lib64/libcurl-gnutls.so.4 (0x00002b6c0e5dc000)<br> libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b6c0e83d000)<br> libbz2.so.1.0 => not found<br> libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00002b6c0ea5a000)<br> libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002b6c0ec66000)<br> libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002b6c0efa7000)<br> libm.so.6 => /lib64/libm.so.6 (0x00002b6c0f1ba000)<br> libdl.so.2 => /lib64/libdl.so.2 (0x00002b6c0f412000)<br> libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b6c0f616000)<br> libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b6c0f920000)<br> libc.so.6 => /lib64/libc.so.6 (0x00002b6c0fb37000)<br> /lib64/ld-linux-x86-64.so.2 (0x00002b6c0e3b9000)<br> libcares.so.2 => /usr/lib64/libcares.so.2 (0x00002b6c0fec7000)<br> libidn.so.11 => /usr/lib64/libidn.so.11 (0x00002b6c100d7000)<br> liblber-2.4.so.2 => /usr/lib64/liblber-2.4.so.2 (0x00002b6c1030b000)<br> libldap-2.4.so.2 => /usr/lib64/libldap-2.4.so.2 (0x00002b6c1051a000)<br> librt.so.1 => /lib64/librt.so.1 (0x00002b6c10763000)<br> libgssapi_krb5.so.2 => /dods/matlib/nclibs/dods-lib-master/libgssapi_krb5.so.2 (0x00002b6c1096c000)<br> libssl.so.1.0.0 => /lib64/libssl.so.1.0.0 (0x00002b6c10a85000)<br> libcrypto.so.1.0.0 => /lib64/libcrypto.so.1.0.0 (0x00002b6c10ce1000)<br> libz.so.1 => /lib64/libz.so.1 (0x00002b6c11093000)<br> libssh2.so.1 => /usr/lib64/libssh2.so.1 (0x00002b6c112ab000)<br> libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00002b6c114d3000)<br> libresolv.so.2 => /lib64/libresolv.so.2 (0x00002b6c116f1000)<br> libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x00002b6c11908000)<br> libkrb5.so.3 => /dods/matlib/nclibs/dods-lib-master/libkrb5.so.3 (0x00002b6c11b24000)<br> libk5crypto.so.3 => /dods/matlib/nclibs/dods-lib-master/libk5crypto.so.3 (0x00002b6c11c9f000)<br> libcom_err.so.3 => /dods/matlib/nclibs/dods-lib-master/libcom_err.so.3 (0x00002b6c11dc4000)<br> libkrb5support.so.0 => /dods/matlib/nclibs/dods-lib-master/libkrb5support.so.0 (0x00002b6c11ec9000)<br> libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002b6c11fcc000)<br><br>And after a locate libbz2, I get the following,<br><br>[root@server]# locate libbz2<br>/lib/libbz2.so.1<br>/lib/libbz2.so.1.0<br>/lib/libbz2.so.1.0.4<br>/lib/libbz2.so.1.0.6<br>/lib64/libbz2.so.1<br>/lib64/libbz2.so.1.0.6<br>/root/EAS/libbz2-devel-1.0.6-14.1.4.i586.rpm<br>/root/EAS/libbz2-devel-1.0.6-14.1.4.x86_64.rpm<br>/usr/lib64/libbz2.so<br>/usr/lib64/kde4/kerfuffle_libbz2.so<br>/usr/share/doc/packages/libbz2-1<br>/usr/share/doc/packages/libbz2-1/COPYING<br>/usr/share/doc/packages/libbz2-1/NEWS<br>/usr/share/doc/packages/libbz2-1/README<br>/usr/share/kde4/services/kerfuffle_libbz2.desktop<br><br>I tried <br><br>setenv LD_LIBRARY_PATH $HOME:${LD_LIBRARY_PATH}<br><br>But that did not get me anywhere. I hope that you can point me in the right direction on this one. AS for which I downloaded, I downloaded the pre-compiled 6.1.2 binary with OPeNDAP-enabled.<br>--<br>Mack J. Jenkins, II<br>404-385-1591<br>mack.jenkins@eas.gatech.edu<br>System Support Engineer II<br>Earth & Atmospheric Sciences<br><br>----- Original Message -----<br>From: "Mary Haley" <haley@ucar.edu><br>To: "Brandon Fisel" <bjfisel@gmail.com><br>Cc: ncl-install@ucar.edu<br>Sent: Tuesday, October 22, 2013 12:33:30 PM<br>Subject: Re: [ncl-install] ncl - libbz2 shared libraries<br><br>Hi Brandon,<br><br>I'm not sure if the issue is with a poorly-linked libbz file, or if you have a version of bz2 that is incompatible with what NCL was compiled with.<br><br>You didn't quite set the LD_LIBRARY_PATH correctly, as you don't want to include the actual file name in the list.<br><br>Try:<br><br> setenv LD_LIBRARY_PATH $HOME:${LD_LIBRARY_PATH}<br><br>Note that it is generally not recommended to fix shared library issues in this fashion. The true fix is to try to figure out why your system bz2 is not compatible with the one NCL is built with.<br><br>Which NCL binary did you download, and what does the following report:<br><br>ldd $NCARG_ROOT/bin/ncl<br>locate libbz2<br><br>--Mary<br><br><br>On Oct 21, 2013, at 3:00 PM, Brandon Fisel <bjfisel@gmail.com> wrote:<br><br>Hi,<br><br>I have downloaded and extracted the ncl v.6.1.2 (nodap) binary and upon running the executable, I am receiving the following:<br>bin/ncl: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory<br><br>The system I am using has libbz2.so located in /lib64:<br>libbz2.so.1 libbz2.so.1.0.5<br><br>I attempted to create a symbolic link to the libbz2.so.1 in my $HOME directory and added the location of the libbz2 to my LD_LIBRARY_PATH, and received the same error as above:<br>ln -s /lib64/libbz2.so.1 $HOME/libbz2.so.1.0<br>setenv LD_LIBRARY_PATH $HOME/libbz2.so.1.0:${LD_LIBRARY_PATH}<br><br>Following from some previous ncl-install archived discussions, I successfully downloaded and compiled (static and shared) bzip2 libraries, and added the location of the shared library to the LD_LIBRARY_PATH and am still receiving the same error as above.<br><br>Should I compile the source code rather than use the binaries provided to me?<br><br>Cheers,<br>-------------------------------------------------------------<br>Brandon J Fisel<br>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br>http://mailman.ucar.edu/mailman/listinfo/ncl-install<br><br>_______________________________________________<br>ncl-install mailing list<br>List instructions, subscriber options, unsubscribe:<br>http://mailman.ucar.edu/mailman/listinfo/ncl-install<br><br><br><br><br></blockquote><br></div></body></html>