I have an executable which needs to link with libtest.so
dynamically,so I put them in the same directory,then :
cd path_to_dir
./binary
But got this:
error while loading shared libraries: libtest.so: cannot open shared object file: No such file or directory
How can it be unable to find libtest.so
which is already in the same directory as the executable itself?