undefined symbol: _ZN6google8protobuf8internal14WireFormatLite11WriteUInt64EimPNS0_2io17CodedOutputStreamE

asked 2021-12-30 11:47:30 -0600

this post is marked as community wiki

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

I am trying to launch empty world describing in turtlebot3 simulation in Gazebo link. The Gazebo version is Gazebo9. I am using ubuntu 18.04 and melodic. When I am trying to launch the file

roslaunch turtlebot3_gazebo turtlebot3_world.launch

An error is occurring which shows that

gzclient: symbol lookup error: /usr/lib/x86_64-linux-gnu/libignition-msgs1.so.1: undefined symbol: _ZN6google8protobuf8internal14WireFormatLite11WriteUInt64EimPNS0_2io17CodedOutputStreamE

[gazebo_gui-3] process has died [pid 14418, exit code 127, cmd /opt/ros/melodic/lib/gazebo_ros/gzclient __name:=gazebo_gui __log:=/home/marzan/.ros/log/04190f0e-6996-11ec-a084-780cb83aac64/gazebo_gui-3.log]. log file: /home/marzan/.ros/log/04190f0e-6996-11ec-a084-780cb83aac64/gazebo_gui-3.log*

what should I need to do? I have tried to uninstall every protobuf. But I am having another error when I am trying to remove libprotobuf-lite10. The error is

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: libkf5parts-plugins : Depends: libkf5parts5 (>= 4.96.0) but it is not going to be installed qml-module-org-kde-kquickcontrolsaddons : Depends: libkf5declarative5 (>= 5.44.0-0ubuntu3) but it is not going to be installed Depends: libkf5quickaddons5 (>= 5.3.0+git20141016.0334) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

What should I need to do in this circumstance?

edit retag flag offensive close merge delete