Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add homebrew lib search path for Apple Silicon systems #606

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

fuzzypixelz
Copy link
Member

Fixes eclipse-zenoh/homebrew-zenoh#2.

This adds /opt/homebrew/lib to the default list of plugin search paths. This is because macOS systems running Apple Silicon no longer use /usr/local/lib. Of course, there is always an argument against hard-coding values like this, and there has been much discussion about this.

At the end of the day, little changes the fact that Apple has made it so /opt/homebrew/lib is the new /usr/local/lib on macOS. Ruby's ffi for instance also hard-codes the search path.

@fuzzypixelz
Copy link
Member Author

There is also the option of adding ../lib which is more (too?) general.

@Mallets Mallets merged commit ecd11ad into eclipse-zenoh:master Nov 30, 2023
6 of 7 checks passed
@fuzzypixelz fuzzypixelz deleted the fix-macos-plugin-search branch December 14, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Error when installing on Mac OS
2 participants