When I try to build and run the application I wrote from the Eclipse IDE, I am getting an error:
"error while loading shared libraries: liblog4cpp.so.5: cannot open shared object file: No such file or directory".
No compilation errors. But if I run the generated output file from the terminal, the application runs normally. When I use ldd
for the application, all the libraries are lined.
From Eclipse, all the library paths are defined too.
project compiled build on Redhat7 OS and I use the log4cpp from below location https://sourceforge.net/projects/log4cpp/
What should be the issue