Trouble with dylib on Mac

asked 2023-06-01 21:01:31 -0600

Hi all-

I am trying to install gazebo on my mac with Mac 13.4 OS M1 Pro specs using this link https://gazebosim.org/docs/garden/ins.... I've been through the trouble shooting here: https://gazebosim.org/docs/garden/tro... and here https://community.gazebosim.org/t/ins.... I installed ruby with homebrew and added

export PATH=/opt/homebrew/Cellar/ruby/3.2.2/bin:$PATH

to my .zshrc file and sourced it by running

. ~/.zshrc

which gets me the correct version of ruby. However, I am still getting this error here when I run gz sim -s:

Error while loading the library [/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-physics-system.dylib]: dlopen(/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-physics-system.dylib, 0x0085): Library not loaded: @rpath/libgz-sim7.7.dylib Referenced from: <91E2EF84-D4D4-3D3D-9DBA-4C1CC4EE76D1> /opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim7-physics-system.7.5.0.dylib Reason: tried: '/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-plugin2/2.0.1/lib/../lib/libgz-sim7.7.dylib' (no such file), '/usr/local/lib/libgz-sim7.7.dylib' (no such file), '/usr/lib/libgz-sim7.7.dylib' (no such file, not in dyld cache) [Err] [SystemLoader.cc:140] Failed to load system plugin: (Reason: No plugins detected in library) - Requested plugin name: [gz::sim::systems::Physics] - Requested library name: [gz-sim-physics-system] - Resolved library path: [/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-physics-system.dylib] Error while loading the library [/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-user-commands-system.dylib]: dlopen(/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-user-commands-system.dylib, 0x0085): Library not loaded: @rpath/libgz-sim7.7.dylib Referenced from: <1FF03AA0-972F-31C5-AFD3-55F741C79101> /opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim7-user-commands-system.7.5.0.dylib Reason: tried: '/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/../lib/libgz-sim7.7.dylib' (no such file), '/opt/homebrew/Cellar/gz-plugin2/2.0.1/lib/../lib/libgz-sim7.7.dylib' (no such file), '/usr/local/lib/libgz-sim7.7.dylib' (no such file), '/usr/lib/libgz-sim7.7.dylib' (no such file, not in dyld cache) [Err] [SystemLoader.cc:140] Failed to load system plugin: (Reason: No plugins detected in library) - Requested plugin name: [gz::sim::systems::UserCommands] - Requested library name: [gz-sim-user-commands-system] - Resolved library path: [/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-user-commands-system.dylib] Error while loading the library [/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-scene-broadcaster-system.dylib]: dlopen(/opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim-scene-broadcaster-system.dylib, 0x0085): Library not loaded: @rpath/libgz-sim7.7.dylib Referenced from: <9FDAE063-C742-3B4C-8DD3-50D8FE6BCCD4> /opt/homebrew/Cellar/gz-sim7/7.5.0/lib/gz-sim-7/plugins/libgz-sim7-scene-broadcaster-system.7.5.0.dylib Reason: tried: '/opt/homebrew/Cellar/gz-sim7 ...

(more)
edit retag flag offensive close merge delete