본문 바로가기
Libraries & Packages/Gazebo

gazebo: symbol lookup error 해결

by yongee97 2023. 4. 23.

* 에러

 

gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ignition10fuel_tools12ClientConfig12SetUserAgentERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

 

 

* 원인

libignition-math 패키지 문제

 

* 해결방법

패키지 재설치

sudo apt-get --reinstall install libignition-math2*
sudo apt-get --reinstall install libignition-math4*

 

* Reference

https://answers.ros.org/question/327766/i-installed-ros-melodic-for-my-1804-unbuntu-but-i-couldnt-launch-gazebo-with-the-gazebo-command/

 

I installed ROS melodic for my 18.04 Unbuntu. But I couldnt launch gazebo with the gazebo command. - ROS Answers: Open Source Q&

I installed ROS melodic for my 18.04 Unbuntu. But I couldnt launch gazebo with the gazebo command. edit After I typed gazebo and entered, this happened: gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8ign

answers.ros.org

https://everynewday1029.tistory.com/30

 

[Error] ROS gazebo - symbol lookup error :

[solution] $ sudo apt-get --reinstall install libignition-math4* $ sudo apt upgrade

everynewday1029.tistory.com