My problem is very weird. I am developing in eclipse using QT lib and gtest on ubuntu 11.04.
I am getting error while loading shared libraries: libRtdb.so.1 only while i wish to Debug. Run works without a problem. I have my LD_LIBRARY_PATH set, without it Run doesn’t work.
Are there any separated settings in eclipse for Run and Debug? It’s weird since it doesn’t work randomly. I have set whole environment on virtual machine, same steps and it worked. Did the same on another virtual machine and it didn’t work.
Any ideas?
Was investigating the problem some more since the previous solution didn’t work so well.
Seems like my
LD_LIBRARY_PATHenvironment variable is being reset somewhere.Unfortunately i didn’t find where, so atm my temporary solution will have to be the following:
Setting
LD_LIBRARY_PATHenvironment variable in terminal and running eclipse from there.See:
http://www.eclipse.org/forums/index.php?t=msg&goto=204818&#msg_204818
http://code.google.com/p/xuggle/issues/detail?id=81