I get the following error launching my program:
error while loading shared libraries: libnetcdf.so.6: cannot open shared object file: No such file or directory
The point is the libnetcdf.so.6
is the old version of the library, I have deleted it and built the new one.
So when I try ldd
I see:
libnetcdf.so.7 => /usr/local/lib/libnetcdf.so.7 (0x00007f70f8c4b000)
but also
libnetcdf.so.6 => not found
Why this old reference? What can I do to solve?