[ncl-install] ncl - libbz2 shared libraries
Mary Haley
haley at ucar.edu
Tue Oct 22 10:33:30 MDT 2013
Hi Brandon,
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.
You didn't quite set the LD_LIBRARY_PATH correctly, as you don't want to include the actual file name in the list.
Try:
setenv LD_LIBRARY_PATH $HOME:${LD_LIBRARY_PATH}
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.
Which NCL binary did you download, and what does the following report:
ldd $NCARG_ROOT/bin/ncl
locate libbz2
--Mary
On Oct 21, 2013, at 3:00 PM, Brandon Fisel <bjfisel at gmail.com> wrote:
> Hi,
>
> I have downloaded and extracted the ncl v.6.1.2 (nodap) binary and upon running the executable, I am receiving the following:
> bin/ncl: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
>
> The system I am using has libbz2.so located in /lib64:
> libbz2.so.1 libbz2.so.1.0.5
>
> 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:
> ln -s /lib64/libbz2.so.1 $HOME/libbz2.so.1.0
> setenv LD_LIBRARY_PATH $HOME/libbz2.so.1.0:${LD_LIBRARY_PATH}
>
> 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.
>
> Should I compile the source code rather than use the binaries provided to me?
>
> Cheers,
> -------------------------------------------------------------
> Brandon J Fisel
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
More information about the ncl-install
mailing list