Hello,
When running a programme, I get the following error right away:
~/ROMS-Tidal-Array.git/trunk/cases$ ./oceanM < ocean_validation.in
./oceanM: error while loading shared libraries: libnetcdff.so.5: cannot open shared object file: No such file or directory
I have read other posts where people had the same output error, and their solution was typing two lines to define the path to the "libnetcdff.so.5" file. In my case, the issue is that no file named "libnetcdff.so.5" appears in my folders. The most similar ones are "libnetcdff.so", "libnetcdff.so.7" and "libnetcdff.so.7.0.0". My guess is that the programme was written in an older ROMS version (as it is at least 4 years old) and that I should find a way to change the shared object the programme is looking for or install a package with "libnetcdff.so.5" on it, but I am a complete beginner so wanted to ask it.
Any ideas of how to fix it?
Shared libraries error: libnetcdff.so.5
Re: Shared libraries error: libnetcdff.so.5
Is it possible for you to recompile the program so that it uses the new library instead of the old library? It is assumed that you will be compiling this code to avoid these problems.
Re: Shared libraries error: libnetcdff.so.5
i am having some trouble compiling it, but I will try it. Thanks for your answer