Gazebo | Ignition | Community
Ask Your Question
0

gazebo can not find libgz-sim7.7.dylib on macos

asked 2022-10-05 04:11:27 -0600

vlad gravatar image

I've just installed gazebo 7 (garden) on macos 12.6. When trying to launch the server

gs sim -s

I get three error messages. All about not finding libgz-sim7.7.dylib. See the screenshot.

image description

This file is present in my system at this location

/usr/local/Cellar/gz-sim7/7.0.0_1/lib/

it's an alias of libgz-sim7.7.0.0.dylib. I've tried to copy the alias to this location

/usr/local/Cellar/gz-sim7/7.0.0_1/lib/gz-sim-7/plugins/../lib/

but it did not help. I've also tried to create my own alias and copy it, but it did not help either. Please help me to fix that

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-10-05 12:27:10 -0600

azeey gravatar image

It looks like a System Integrity Protection (SIP) issue, which is resolved by using a non-system version of ruby: https://gazebosim.org/docs/garden/tro...

edit flag offensive delete link more

Comments

Thank you azeey, but it did not help, unfortunately. I've added the "export PATH.." as they recommend, but nothing changed. I still have the error

vlad gravatar imagevlad ( 2022-10-07 01:51:22 -0600 )edit

After setting the PATH, what do you get when you run which ruby? It needs to be the one installed through homebrew.

azeey gravatar imageazeey ( 2022-10-11 18:44:59 -0600 )edit

Any luck here? I am having the same problem despite following the trouble shooting guide linked: https://gazebosim.org/docs/garden/tro...

The trouble shooting guide suggests they are using ruby 2.6.5. I tried a few different ruby version installed via brew (2.6, 2.7, 3.2).

gouth7 gravatar imagegouth7 ( 2023-03-08 11:56:23 -0600 )edit

@gouth7 Any luck on this? I've been stuck in the same spot. The recommended solution does not work and I'd prefer not to remove Integrity Protection

Craig17 gravatar imageCraig17 ( 2023-04-03 19:52:45 -0600 )edit

Can you check that you have your PATH set correctly so that it's using the homebrew ruby instead of the system installed one?

azeey gravatar imageazeey ( 2023-04-05 09:31:26 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2022-10-05 04:05:56 -0600

Seen: 223 times

Last updated: Oct 05 '22