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

What is the result of:
locate libvtk*.so ?

and then:
ls -l fileyoufound.so

Did you recompile your application after compiling VTK?

What is the output of
ldd ./MyApplication