Missing library when running gazebo

asked 2021-03-29 06:27:20 -0500

Astghik gravatar image

I followed installation directions in http://gazebosim.org/tutorials?tut=in... 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.

edit retag flag offensive close merge delete

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.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2021-04-19 12:35:11 -0500 )edit

@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)

Hamid Smith Salehi gravatar imageHamid Smith Salehi ( 2021-09-15 22:01:49 -0500 )edit