Home | Tutorials | Wiki | Issues
Ask Your Question
0

gazebo9 Symbol lookup error

asked 2018-03-13 16:57:09 -0500

hvpandya gravatar image

updated 2018-03-14 11:20:12 -0500

Removed all gazebo8 related components and installed gazebo9

Getting the following while trying to launch

gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libsdformat.so.6: undefined symbol: _ZTIN8ignition4math2v45ColorE

EDIT#1:

Results from apt show libignition-math*

https://pastebin.com/iN82NtLZ

Results from ldd $(which gazebo)

https://pastebin.com/4MMz9b4T

edit retag flag offensive close merge delete

Comments

Would you mind posting the output of the following commands? ``` apt show libignition-math* ``` ``` ldd $(which gazebo) ```

sloretz gravatar imagesloretz ( 2018-03-13 17:18:32 -0500 )edit

@sloretz Edited my OP with results. Thanks for looking into this!

hvpandya gravatar imagehvpandya ( 2018-03-14 11:20:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-03-14 11:53:05 -0500

sloretz gravatar image

libignition-math4.so.4 => /usr/local/lib/libignition-math4.so.4

Looks like at some point ignition-math4 was installed from source - it has the prefix /usr/local/lib. If installed via apt it would be in /usr/lib.

It probably was built before this pull request was merged. If the build folder is still around then do sudo make uninstall to uninstall it. Otherwise you'll have to find and delete its files manually. This list is probably incomplete:

/usr/local/share/doc/libignition-math4
/usr/local/lib/x86_64-linux-gnu/libignition-math4.so.4.0.0
/usr/local/lib/x86_64-linux-gnu/libignition-math4.so.4
/usr/local/lib/x86_64-linux-gnu/cmake/ignition-math4/*
/usr/local/include/ignition/math4/*

Then I would force reinstall ignition-math4 in case something from it accidentally got deleted

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

edit flag offensive delete link more

Comments

On point! I did have an old source install of libignition-math4.

hvpandya gravatar imagehvpandya ( 2018-03-14 12:15:56 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-03-13 16:57:09 -0500

Seen: 1,968 times

Last updated: Mar 14 '18