Robotics StackExchange | Archived questions

robot_state_publisher: symbol lookup error

Hi all, for some reason, robotstatepublisher does not work anymore. When I run it, I get:

/opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher
/opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher: symbol lookup error: /opt/ros/indigo/lib/robot_state_publisher/robot_state_publisher: undefined symbol: _ZN4urdf5Model9initParamERKSs

I completely purged all ROS packages and dependencies, and reinstalled many times. No changes.

Looks like a missing library somewhere, but I can't figure out which one.

I have Ubuntu 14.04 + ROS Indigo.

Asked by mark_vision on 2015-05-05 17:02:04 UTC

Comments

The URDF package contains such a method. Is the URDF package installed?

Asked by BennyRe on 2015-05-06 02:35:38 UTC

Yes it is. I installed ros-indigo-desktop-full and both ros-indigo-robot-state-publisher and ros-indigo-urdf are already installed. Can it be a 64 vs 32 bit issue? I have a 64 bit system.

Asked by mark_vision on 2015-05-06 03:18:27 UTC

Don't think it's a 64-bit issue. The error message would look different. What's the output of locate liburdf.so?

Asked by BennyRe on 2015-05-06 03:37:38 UTC

BennyRe, thanks for the intuition. The first line of locate was pointing to a repo of a package I cloned and not the usual /opt/ros/indigo/lib/. Once removed the cloned package, everything went to normal.

Asked by mark_vision on 2015-05-06 03:56:18 UTC

Answers