Failed to load system plugin

I’m running the sdf world tutorial of the gazebo in thís link:
https://gazebosim.org/docs/harmonic/sdf_worlds/
But when I run gz sim robot.sdf, it has the error:
[Err] [SystemLoader.cc:92] Failed to load system plugin [WorldControl] : Could not find shared library.
[Err] [SystemLoader.cc:92] Failed to load system plugin [WorldStats] : Could not find shared library.
I use ros2 jazzy and gazebo harmonic.
Does anyone know how to fix it?

Hello,

This type of question is best asked on https://robotics.stackexchange.com/. When creating the question, please make sure to include the gazebo tag and describe your problem in detail.