Gazebo | Ignition | Community
Ask Your Question
0

"gzserver: symbol lookup error" (not ignition problem) when launching Gazebo v9.19 in Ubuntu 18.04

asked 2021-11-25 06:45:53 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

When I try to launch the Gazebo from terminal;

gazebo --verbose

Gazebo multi-robot simulator, version 9.19.0 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Gazebo multi-robot simulator, version 9.19.0 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

[Msg] Waiting for master.

[Msg] Waiting for master.

[Msg] Connected to gazebo master @ http://127.0.0.1:11345

[Msg] Publicized address: 10.76.137.168

[Msg] Connected to gazebo master @ http://127.0.0.1:11345

[Msg] Publicized address: 10.76.137.168

[Msg] Loading world file [/usr/share/gazebo-9/worlds/empty.world]

gzserver: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo.so.9: undefined symbol: _ZN3sdf28recursiveSameTypeUniqueNamesESt10shared_ptrINS_7ElementEE

this error occurs. I really can't understand what is the meaning of this "undefined symbol". I don't now how can I fix this problem. (Also I'm using ROS melodic but I just can't launch Gazebo as you can see above so I don't know is it important.)

edit retag flag offensive close merge delete

Comments

This looks like a version mismatch between gazebo and libsdformat. Can you tell me which version of libsdformat you have installed? You can do this with apt-cache policy libsdformat6

azeey gravatar imageazeey ( 2021-11-29 10:13:58 -0600 )edit

@azeey installed version of libsdformat6 is 6.2.0.1~bionic.

Mustafa gravatar imageMustafa ( 2021-12-06 06:22:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-12-06 19:39:30 -0600

azeey gravatar image

Gazebo 9.19 needs libsdformat6 >= 6.3.0. It should have been installed when installing/upgrading the gazebo9 package, but it looks like your system still has 6.2.0. Upgrading or reinstalling libsdformat6 should resolve your issue.

edit flag offensive delete link more

Comments

Yes, it solved my problem thank you.

Mustafa gravatar imageMustafa ( 2021-12-07 14:55:08 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-11-25 06:45:53 -0600

Seen: 926 times

Last updated: Dec 06 '21