Command 'make px4_sitl gazebo' giving error on ubuntu

After installing ignition gazebo on my ubuntu, I ran into this error:

[    0/4] Performing build step for 'sitl_gazebo'
    ninja: error: '/usr/lib/x86_64-linux-gnu/libignition-math6.so.6.7.0', needed by 'libmav_msgs.so', missing and no known rule to make it
    FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build 
    cd /home/adwaitnaik/PX4-Autopilot/build/px4_sitl_default/build_gazebo && /usr/bin/cmake --build /home/adwaitnaik/PX4-Autopilot/build/px4_sitl_default/build_gazebo -- -j1
    ninja: build stopped: subcommand failed.
    Makefile:224: recipe for target 'px4_sitl' failed
    make: *** [px4_sitl] Error 1

System: Mac OSX (running ubuntu 18.04 LTS using Virtual machine)
ROS version installed: melodic
Gazebo installed: ignition gazebo

Please can anyone of you help me in fixing this issue?

Hi, did you find any solution? I also face this problem.
System: Ubuntu 20.04
ROS version: melodic