Ask Your Question
4

How to I fix libgazebo_ros_paths_plugin.so undefined symbol error?

asked 2014-06-26 10:15:33 -0600

liangfok gravatar image

updated 2014-06-26 21:43:57 -0600

I recently upgraded to the most recent packages of ROS hydro and now when I launch gazebo using "rosrun gazebo_ros gazebo" I'm getting the following error:

gzserver: symbol lookup error: /opt/ros/hydro/lib/libgazebo_ros_paths_plugin.so: undefined symbol: _ZN3ros7package10getPluginsERKSsS2_RSt6vectorISsSaISsEE

gzclient: symbol lookup error: /opt/ros/hydro/lib/libgazebo_ros_paths_plugin.so: undefined symbol: _ZN3ros7package10getPluginsERKSsS2_RSt6vectorISsSaISsEE

Using c++filt or http://demangler.com/ , I see that the following method is undefined:

ros::package::getPlugins(std::string const&, std::string const&, std::vector<std::string, std::allocator<std::string=""> >&)

Does anyone know how to fix this?

Here are the ROS / Gazebo packages I have installed on my Ubuntu 12.04.4 64-bit computer:

$ dpkg -l | grep hydro | grep gazebo
ii  ros-hydro-gazebo3-msgs                      2.4.2-3precise                                                          Message and service data structures for interacting with Gazebo from ROS.
ii  ros-hydro-gazebo3-plugins                   2.4.2-3precise                                                          Robot-independent Gazebo plugins for sensors, motors and dynamic reconfigurable components.
ii  ros-hydro-gazebo3-ros                       2.4.2-3precise                                                          Provides ROS plugins that offer message and service publishers for interfacing with Gazebo through ROS. Formally simulator_gazebo/gazebo

$ dpkg -l | grep gazebo
ii  gazebo3                                     3.0.0-3~precise                                                         Open Source Robotics Simulator
ii  gazebo3-common                              3.0.0-3~precise                                                         Open Source Robotics Simulator - Shared files
ii  gazebo3-plugin-base                         3.0.0-3~precise                                                         Open Source Robotics Simulator - base plug-ins
ii  libgazebo-dev                               3.0.0-3~precise                                                         Open Source Robotics Simulator - Development Files
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-07-08 11:13:31 -0600

bilynbk gravatar image

Dear liangfok, I used the same configuration as your system (Ubuntu 12.04+gazebo3+ros-hydro-gazebo3) and sadly got the same error. Still don't know how to get through. Does anyone help me out of this situation?

edit flag offensive delete link more

Comments

2

It works for me. Thanks for your help.

bilynbk gravatar imagebilynbk ( 2014-07-09 01:34:03 -0600 )edit
0

answered 2014-07-07 02:53:07 -0600

Girts L gravatar image

I had a similar problem with gazebo 2.0, this answer helped. After commenting out the OSRF repo, removing gazebo-current and reinstalling ros-hydro-turtlebot-simulator, which I was trying to run, I got gazebo 1.9.5 instead of 2.0. Now it works.

edit flag offensive delete link more

Comments

Unfortunately, I need to use Gazebo 3.0 because there is a critical flaw in previous versions of Gazebo that prevent me from accurately simulating my robot.

liangfok gravatar imageliangfok ( 2014-07-08 11:46:59 -0600 )edit

Could you please check the gazebo bug https://bitbucket.org/osrf/gazebo/issue/1222/latest-debian-update-breaks-ros-hydro and see if the proposed solution fix the problem for you? For some reason the captcha is stopping me from post an answer.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-08-05 18:33:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-06-26 10:15:33 -0600

Seen: 1,149 times

Last updated: Jul 08 '14