robot_state_publisher: symbol lookup error [closed]

asked 2015-05-05 17:02:04 -0500

mark_vision gravatar image

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

/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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by mark_vision
close date 2015-05-06 03:58:36.628978


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

BennyRe gravatar image BennyRe  ( 2015-05-06 02:35:38 -0500 )edit

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.

mark_vision gravatar image mark_vision  ( 2015-05-06 03:18:27 -0500 )edit

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

BennyRe gravatar image BennyRe  ( 2015-05-06 03:37:38 -0500 )edit

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.

mark_vision gravatar image mark_vision  ( 2015-05-06 03:56:18 -0500 )edit