Library "not found" after building test with CMake on Ubuntu.

Try with:
locate libvtksys
without the *

or
locate libvtk

-Wl,rpath=… could also help when compiling maybe.

Otherwise, exporting LD_LIBRARY_PATH with your extra search path, too, to see if it runs well.

1 Like