I recently updated my system from Ubuntu 14.04 (trusty tahr) to Ubuntu 16.04.4 LTS (Xenial Xerus).
While installing QGIS I get an error message:
/usr/lib/qgis/crssync: error while loading shared libraries: libnetcdf.so.7: cannot open shared object file: No such file or directory
I updated the repositories:
sudo apt-get update
and installed the latest version
sudo apt-get install libnetcdf-dev
While checking the installation of the library I found that libnetcdf.so.11
is installed
Checking out the available repositories for Xenial for ibnetcdf at:
https://packages.ubuntu.com/xenial/libdevel/libnetcdf-dev
I found that the available library is: libnetcdf11 (= 1:4.4.0-2)
which corresponds with the libnetcdf.so.11
file I found.
What do I do in order to install libnetcdf.so.7
and fulfil the dependencies for QGIS?
Best Answer
I checked out the situation and I had a conflict between two installed gdal installations.
from a post at: http://r-sig-geo.2731867.n2.nabble.com/Problems-with-installing-rgdal-on-Ubuntu-quot-checking-gdal-linking-with-libs-only-no-quot-td7590255.html
then I ran a fresh gdal installation:
Then:
Seems to work just right