I have a C++ project that runs standalone, by launching its binary on console. However it does not run when I try on Eclipse, giving the following error:
error while loading shared libraries: libactivemq-cpp.so.18: cannot open shared object file: No such file or directory
I do know that the error is related to LD_LIBRARY_PATH, as I set it before launching on console and it runs, otherwise it also gives the same error there. I want to do the same in Eclipse too, and I guess I am doing that already. I am setting the environment variable from Windows->Preferences and so on, however it does not work.
Is there anyone who knows how to tackle this problem in Eclipse environment?
Fixed it by adding the following line as make variable in the makefile.