I have a project path where I have created an executable testsd:
Caspian@Caspian-VirtualBox:~/TestProject/build/linux/debug/bin/testsd
The project directory and heirarchy is as following:
/TestProject
|-build/linux/debug/bin
|-ExtLib/folder/lib(containing .a and .so files)
|-ExtLib/folder/src(containing multiple sub folders with .cpp files)
|-ExtLib/folder/include(containing multiple sub folders with .cpp files)
|-src(containing multiple sub folders with .cpp files and mainc.pp)
|-tests(containing Runtests.cpp and catch.hpp files)
The problem is when am running this executable (./testsd), I am encountering the following error:
./testsd: error while loading shared libraries: libuastackd.so: cannot open shared object file: No such file or directory
The libuastackd.so files is contained in ExtLib/folder/lib and ExtLib/folder/src/stack/lib folders. Can anyone help, how can I overcome this problem?
Thanks rG