Today I removed the apt package VTK7 from my Ubuntu20.04.
Then I compiled VTK8.2 from source with default configuration created with ccmake. (Eg.: CMAKE_INSTALL_PREFIX=/usr/local
)
Now when I run my applications that are based on VTK I get errors like this:
“error while loading shared libraries: libvtksys-8.2.so.1: cannot open shared object file: No such file or directory”
readelf -d ./myApplication
shows that I am using “RUNPATH”.
I did not change the default path but still I have the same problems described here.
Any tips on how to fix this? I have struggle to translate the solution to my problem.