Gazebo | Ignition | Community
Ask Your Question
0

Does Gazebo work on Mac M1 Monterey (12.6)?

asked 2022-11-06 00:55:55 -0500

linyz0100 gravatar image

Hi, I just did a standard binary installation of Gazebo with brew. However, I ran into the following error. Any suggestions? Can I install Gazebo on Ubuntu Jammy? ROS2 is moving away from Focal distribution.

Error while running gz sim -s

Error while loading the library [/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-physics-system.dylib]: dlopen(/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-physics-system.dylib, 0x0085): Library not loaded: '@rpath/libgz-sim7.7.dylib' Referenced from: '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim7-physics-system.7.0.0.dylib' Reason: tried: '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-plugin2/2.0.0/lib/../lib/libgz-sim7.7.dylib' (no such file), '/usr/lib/libgz-sim7.7.dylib' (no such file), (security policy does not allow @ path expansion) [Err] [SystemLoader.cc:104] Failed to load system plugin [gz-sim-physics-system] : couldn't load library on path [/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-physics-system.dylib]. Error while loading the library [/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-user-commands-system.dylib]: dlopen(/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-user-commands-system.dylib, 0x0085): Library not loaded: '@rpath/libgz-sim7.7.dylib' Referenced from: '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim7-user-commands-system.7.0.0.dylib' Reason: tried: '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-plugin2/2.0.0/lib/../lib/libgz-sim7.7.dylib' (no such file), '/usr/lib/libgz-sim7.7.dylib' (no such file), (security policy does not allow @ path expansion) [Err] [SystemLoader.cc:104] Failed to load system plugin [gz-sim-user-commands-system] : couldn't load library on path [/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-user-commands-system.dylib]. Error while loading the library [/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-scene-broadcaster-system.dylib]: dlopen(/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-scene-broadcaster-system.dylib, 0x0085): Library not loaded: '@rpath/libgz-sim7.7.dylib' Referenced from: '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim7-scene-broadcaster-system.7.0.0.dylib' Reason: tried: '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-plugin2/2.0.0/lib/../lib/libgz-sim7.7.dylib' (no such file), '/usr/lib/libgz-sim7.7.dylib' (no such file), (security policy does not allow @ path expansion) [Err] [SystemLoader.cc:104] Failed to load system plugin [gz-sim-scene-broadcaster-system] : couldn't load library on path [/opt/homebrew/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/libgz-sim-scene-broadcaster-system.dylib].

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-02-08 13:07:36 -0500

azeey gravatar image

There have been recent changes that have fixed issues with running Gazebo on M1 Macs, so it might be worth updating and trying again. Also, the issue with the OSX System Integrity Protection (SIP) is addressed in https://gazebosim.org/docs/garden/tro....

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-11-06 00:48:18 -0500

Seen: 413 times

Last updated: Feb 08 '23