I am facing strange issue while loading shared library in a cpp program. When the make file is executed then it works fine -
LIB_RELEASE = $(LIB)-lopencv_highgui -lopencv_core -lopencv_imgcodecs -lopencv_imgproc -lmmcheng_github -lgomp
But when I run this using the output file which is generated as a result of this make file, it gives me error as -
./bin/mmcheng_densecut: error while loading shared libraries: libmmcheng_github.so: cannot open shared object file: No such file or directory
PS I have placed the libmmcheng_github.so in the folder /usr/local/lib
Thanks