Gazebo symbol lookup error ubuntu 22.04

asked 2022-08-22 04:56:53 -0600

gjane0660 gravatar image

I have installed gazebo with

sudo apt install gazebo

This works without any errors however on calling gazebo I receive the error

gzserver: symbol lookup error: /lib/x86_64-linux-gnu/libdart.so.6.12: undefined symbol: _ZN8octomath6Pose6DC1ERKS0_

On trying to upgrade the libdart library I recieve the error

Preparing to unpack .../libdart6-external-odelcpsolver_6.12.2-2043~202208070503~ubuntu22.04.1_amd64.deb ... Unpacking libdart6-external-odelcpsolver (6.12.2-2043~202208070503~ubuntu22.04.1) ... dpkg: error processing archive /var/cache/apt/archives/libdart6-external-odelcpsolver_6.12.2-2043~202208070503~ubuntu22.04.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libdart-external-odelcpsolver.so.6.12', which is also in package libdart-external-odelcpsolver6.12:amd64 6.12.1+dfsg4-11build2 Preparing to unpack .../libdart6_6.12.2-2043~202208070503~ubuntu22.04.1_amd64.deb ... Unpacking libdart6 (6.12.2-2043~202208070503~ubuntu22.04.1) ... dpkg: error processing archive /var/cache/apt/archives/libdart6_6.12.2-2043~202208070503~ubuntu22.04.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libdart.so.6.12', which is also in package libdart6.12:amd64 6.12.1+dfsg4-11build2 Errors were encountered while processing: /var/cache/apt/archives/libdart6-external-odelcpsolver_6.12.2-2043~202208070503~ubuntu22.04.1_amd64.deb /var/cache/apt/archives/libdart6_6.12.2-2043~202208070503~ubuntu22.04.1_amd64.deb needrestart is being skipped since dpkg has failed E: Sub-process /usr/bin/dpkg returned an error code (1)

Can someone help me solve this error? which version of the library would I need?

edit retag flag offensive close merge delete