Robotics StackExchange | Archived questions

Missing library when running gazebo

I followed installation directions in http://gazebosim.org/tutorials?tut=install_ubuntu and tried both one-liner and step-by-step options. However when I try to check if gazebo has been installed and run command gazebo, I get the following error:

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

I have tried locating the lmissing library by running locate libdart-collision-bullet.so.6 and I get

/usr/lib/x86_64-linux-gnu/libdart-collision-bullet.so.6.9
/usr/lib/x86_64-linux-gnu/libdart-collision-bullet.so.6.9.5
/usr/local/lib/libdart-collision-bullet.so.6.8
/usr/local/lib/libdart-collision-bullet.so.6.8.2

I have also tried installing libdart from source but I get the same error. Would appreciate a solution to this issue.

Asked by Astghik on 2021-03-29 06:27:20 UTC

Comments

Could you please run ldd $(which gzserver) | grep dart and find /usr . -name libdart-collision-bullet.so* and attach the output to the question? Thanks.

Asked by Jose Luis Rivero on 2021-04-19 12:35:11 UTC

@jose-luis-rivero here it's what you said (i have the same issue) : ha*@ham:~$ ldd $(which gzserver) | grep dart libdart-collision-bullet.so.6 => not found libdart.so.6 => not found libdart.so.6 => not found ha@ham:~$ find /usr . -name libdart-collision-bullet.so /usr/lib/x86_64-linux-gnu/libdart-collision-bullet.so.6.9.5 /usr/lib/x86_64-linux-gnu/libdart-collision-bullet.so /usr/lib/x86_64-linux-gnu/libdart-collision-bullet.so.6.9

what can i do? (i,m amateure on ubuntu)

Asked by Hamid Smith Salehi on 2021-09-15 22:01:49 UTC

Answers