Library roscpp does not load
Hi there,
I tried to install ROS on a x86 based embedded system (Linux installed using the meta-ros layer for yocto).
In genereal (with python libraries only) it works fine.
Unfortunately I observed a strange behavior with libroscpp.so . My initial issue has been that after starting roscore, everything was up and running besides rosout. I tried to restart it manually, but the shell just blocks after calling rosout and with top I could observe that the process already stopped.
I did some tests afterwards, and wrote a small program, that does not use ROS at all. If I link it with libroscpp I get the same strange behavior as with rosout. When I leave libroscpp out, no issue at all. I can even link librostime... It is only libroscpp that creates the troubles.
I already checked with ldd all libraries that are additionally linked to my executable, and in general they are all on the harddisk...
Any ideas what I could try as next steps? As it is already the linking that causes the trouble, I am running a bit out of ideas, what to try...
Best regards Christoph
Asked by Christoph on 2013-12-22 01:57:11 UTC
Answers
Hi. I am not sure if this could be the problem you are facing, but I came across something similar with rosconsole messages - a third party library using its own version of log4cxx wasn't playing good with rosconsole, resulting in rosconsole messages being displayed wrongly. In short, is it possible that there is some mismatch in the version of other system libraries that you have linked ROS against? HTH.
Asked by VC on 2013-12-22 06:07:24 UTC
Comments
Please provide actual error outputs otherwise it's very hard to help you.
Asked by tfoote on 2013-12-26 19:00:31 UTC
There is no error. The moment I link libroscpp with an executable, the executable will not start. :-(
Asked by Christoph on 2014-04-18 05:33:14 UTC
What do you mean it will not start? Can you show the console output?
Asked by tfoote on 2014-04-18 07:20:00 UTC