Gazebo prompts an error:
gazebo: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgazebo_common.so.9: undefined symbol: _ZN8
just update the libignition-math2 package:
sudo apt upgrade libignition-math2
it works for me.