ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

gzserver: error while loading shared libraries: libdart-collision-bullet.so.6: cannot open shared object file: No such file or directory

asked 2021-08-27 22:38:25 -0500

kak13 gravatar image

I don't even know how did this happen. One day, I just open the laptop and start to work. Suddenly, it's not working anymore.

I can't even run turtlebot3. I reinstalled foxy and gazebo11. No luck. It just...out of blue not working again.

killall gzserver/killall gzclient/ pkill doesn't help at all. ANy idea? I really want to use gazebo again

error

gzserver: error while loading shared libraries: libdart-collision-bullet.so.6: cannot open shared object file: No such file or directory

even i reinstall gazebo11, this happens still.

bwuk@robots:~$ cd /usr/local/bin/gazebo
bash: cd: /usr/local/bin/gazebo: No such file or directory
bwuk@robots:~$

I still have .model though

bwuk@robots:~$ cd .gazebo/models/
bwuk@robots:~/.gazebo/models$

Everytime I load gazebo from launch, it simply frozen, crashed or says directory doesn't exist.

How did this happen?

I even echo path, but it just don't show any result

bwuk@robots:~$ echo $GAZEBO_RESOURCE_PATH

bwuk@robots:~$ echo $GAZEBO_PLUGIN_PATH

bwuk@robots:~$

I'm using foxy, gazebo11 and ubuntu 20.04

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2021-08-30 08:22:16 -0500

kak13 gravatar image

updated 2021-08-30 08:40:52 -0500

Solution:

  • sudo apt remove --purge libdart*
  • Remove dartsim/ppa in Software & Updates -> Other Software
  • sudo apt update
  • sudo apt install libdart-dev
  • sudo apt install libdart-all-dev (only if above installs)
  • But if this failed due to unable to fetch some archives, run this sudo apt update --fix-missing && sudo apt install libdart-all-dev

    • Install gazebo curl -sSL http://get.gazebosim.org | sh
    • gazebo (to check if it works now)

If you still getting error after attempt to load gazebo from launch in ros2, then follow this;

. /usr/share/gazebo/setup.sh inside your workspace.

Source:

  • ROS answer: link

  • rajputusername on stackoverflow on Gazebo 11 does not run question page

edit flag offensive delete link more

Comments

Please do not post link-only answers, especially not when those links lead to 3rd party sites (ie: not on ros.org or ROS related Github pages): the links go stale pretty quickly.

Please summarise how you solved your problem here in your answer.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-30 08:25:46 -0500 )edit

Right, my bad! Let me fix this then

kak13 gravatar image kak13  ( 2021-08-30 08:27:14 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2021-08-27 22:38:25 -0500

Seen: 319 times

Last updated: Aug 30 '21