<div dir="ltr"><div class="gmail_default" style="font-size:small">Dave,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">On Linux systems, it's better to use package managers like "yum" or "apt-get" to install packages.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please see:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><a href="http://www.ncl.ucar.edu/Download/linux.shtml#InstallSoftware">http://www.ncl.ucar.edu/Download/linux.shtml#InstallSoftware</a><br></div><div class="gmail_default" style><br></div><div class="gmail_default" style>You should be able to do something like:</div><div class="gmail_default" style><br></div><div class="gmail_default" style>yum install libbz2-dev</div><div class="gmail_default" style><br></div><div class="gmail_default" style>or</div><div class="gmail_default" style><br></div><div class="gmail_default" style>apt-get install libbz2-dev</div><div class="gmail_default" style><br></div><div class="gmail_default" style>I have a feeling that your system is not seeing the bz2 libraries in /lib64, because it looks like you have a 32-bit system (you downloaded a 32-bit binary for NCL).</div><div class="gmail_default" style><br></div><div class="gmail_default" style>If you use a package manager, then it will put the libraries in the correct place on your system.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>Please verify that you have a 32-bit system, however:</div><div class="gmail_default" style><br></div><div class="gmail_default" style>uname -a</div><div class="gmail_default" style><br></div><div class="gmail_default" style>If this reports "x86_64", then you have a 64-bit system, and you should be installing a 64-bit version of NCL and not a 32-bit version.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>--Mary</div><div class="gmail_default" style><br></div><div class="gmail_default" style><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 24, 2014 at 6:48 AM, David Adams <span dir="ltr"><<a href="mailto:dave.k.adams@gmail.com" target="_blank">dave.k.adams@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>HI Mary,<br><br></div>this is what I get, <br><br>linux-gate.so.1 => (0xf775a000)<br> libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x42102000)<br> libpthread.so.0 => /lib/libpthread.so.0 (0x4d26f000)<br> libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4d673000)<br> libbz2.so.1 => not found<br> libX11.so.6 => /usr/lib/libX11.so.6 (0x4d74d000)<br> libXext.so.6 => /usr/lib/libXext.so.6 (0x4db60000)<br> libm.so.6 => /lib/libm.so.6 (0x4d424000)<br> libdl.so.2 => /lib/libdl.so.2 (0x4d268000)<br> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf763e000)<br> libgomp.so.1 => not found<br> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4d8e3000)<br> libc.so.6 => /lib/libc.so.6 (0x4d0b8000)<br> /lib/ld-linux.so.2 (0x4d093000)<br> libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x42038000)<br> libexpat.so.1 => /lib/libexpat.so.1 (0x41fb6000)<br> libxcb.so.1 => /usr/lib/libxcb.so.1 (0x4d902000)<br> libXau.so.6 => /usr/lib/libXau.so.6 (0x4d67f000)<br><br>ls -l /lib64/libbz2*<br></div>gives<br><div><br>lrwxrwxrwx. 1 root root 22 Oct 24 07:34 /lib64/libbz2.so -> /lib64/libbz2.so.1.0.6<br>lrwxrwxrwx. 1 root root 15 Mar 30 2012 /lib64/libbz2.so.1 -> libbz2.so.1.0.6<br>lrwxrwxrwx. 1 root root 22 Oct 17 23:13 /lib64/libbz2.so.1.0 -> /lib64/libbz2.so.1.0.6<br>-rwxr-xr-x. 1 root root 66552 Feb 8 2011 /lib64/libbz2.so.1.0.6<br><br><br></div><div>I have downloaded <br><br>bzip2-1.0.6.tar.gz<br></div><div>and untar it in<br></div><div>/usr/lib/<br><br>ln -s /lib64/libbz2.so.1.0.6 /lib64/libbz2.so<br>ln: failed to create symbolic link `/lib64/libbz2.so': File exists<br><br></div><div>any suggestions?<br><br></div><div>thanks,<br>Dave<br></div><div><br><br></div><div><br><br><br><br><br><br><br><br><br><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 23, 2014 at 10:17 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-size:small">Dave,</div><div style="font-size:small"><br></div><div style="font-size:small">What does the following report:</div><div style="font-size:small"><br></div><div style="font-size:small">which ncl</div><div style="font-size:small">ldd $NCARG_ROOT/bin/ncl</div><div style="font-size:small">ls -l /lib64/libbz2*</div><div style="font-size:small"><br></div><div style="font-size:small">This error usually indicates that the library in question, "bz2" in this case, wasn't installed properly. </div><div style="font-size:small"><br></div><div style="font-size:small">On the system where this version of NCL was built, the "locate libbz2" command gives me this:</div><div style="font-size:small">
<p>/usr/lib/libbz2.a<br>/usr/lib/libbz2.so<br>/usr/lib/libbz2.so.1<br>/usr/lib/libbz2.so.1.0.3</p><p>Note that we have a ".a" version and a ".so" version without any numbers after it.</p><p>Every Linux system that I do a "locate libbz2" on has a libbz2.so file (but not necessarily a "libbz2.a" file). You may want to reinstall this package, or add a soft link yourself to create the libbz2.s file:</p><p><span style="font-family:arial,sans-serif;font-size:13px">ln -s /lib64/libbz2.so.1.0.6 </span><span style="font-family:arial,sans-serif;font-size:13px">/lib64/libbz2.so</span><br></p><p>--Mary<br></p></div><div style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Oct 23, 2014 at 3:30 PM, David Adams <span dir="ltr"><<a href="mailto:dave.k.adams@gmail.com" target="_blank">dave.k.adams@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi all, <br>I have seen this error in ncl talk, but the replies don´t mean much to me and<br>less so when I google it.<br><br></div><div>Is there any easy way to solve this problem.<br><br></div><div>I am running<br>Linux 3.3.0-8.fc16.x86_64<br></div><div>and I installed<br>ncl_ncarg-6.2.1.Linux_RHEL5.10_i686_nodap_gcc412.tar.gz<br><br></div><div>When I do a locate libbz2.so.1, I get:<br>/lib64/libbz2.so.1<br>/lib64/libbz2.so.1.0<br>/lib64/libbz2.so.1.0.6<br><br></div><div>thanks,<br>Dave<br></div><div><br><br><br><br></div></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>