SDSlite icon indicating copy to clipboard operation
SDSlite copied to clipboard

Linux install instructions incorrect

Open goda opened this issue 5 years ago • 0 comments

First of all great library! Thanks for supporting it.

Recently I had to deploy my application on a Linux platform. I followed the instructions to install the libnetcdf-dev package with: sudo apt-get install libnetcdf-dev

and would get an error saying 64 bit process cannot load library.

I found out the latest version of libnetcdf-dev, does not install the library at the expected location: /usr/lib/libnetcdf.so.7

It is installed here (for amd64 architecture): /usr/lib/x86_64-linux-gnu/libnetcdf.so.11.4.0

I made a symbolic link between the two locations: ln -s /usr/lib/x86_64-linux-gnu/libnetcdf.so.11.4.0 /usr/lib/libnetcdf.so.7

and voila, the application was able to successfully run and read netCDF files on Linux.

goda avatar Aug 02 '19 03:08 goda