I’m trying to build ITK 5.0.1 on Ubuntu with BUILD_SHARED_LIBS flag ON.
I successfully configure and generate. I create appropriate .so files in cmake_install_prefix directory.
But when I try to simple HelloWorld project from examples, I get this error.
error while loading shared libraries: libitkdouble-conversion-5.0.so.1: cannot open shared object file: No such file or directory.
In contrast of dynamic libraries, I can build and test static libraries(with BUILD_SHARED_LIBS flag OFF).
I think the problem is with linking.