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

Adding MacPorts,Fink,etc search path to /opt/local/lib #638

Merged
merged 1 commit into from Jul 3, 2018

Conversation

comomac
Copy link
Contributor

@comomac comomac commented Jun 9, 2018

Currently any projects relying on package manager MacPorts and Fink unable to load libraries due to search path. By adding search path for /opt/local/lib will resolve this issue and many other ruby libraries using FFI.

Error example:
LoadError: Could not open library 'glib-2.0': dlopen(glib-2.0, 5): image not found.

@tduehr
Copy link
Member

tduehr commented Jul 3, 2018

Could have sworn those linked to /usr/local/ ... o well... We should probably add the ability to configure those paths at runtime too...

@tduehr tduehr merged commit 0ee4f79 into ffi:master Jul 3, 2018
OleMchls added a commit to OleMchls/ffi that referenced this pull request Feb 12, 2021
As the homebrew team discussed in Homebrew/brew#9177 the new library path for homebrew on apple silicon is `/opt/homebrew/lib`. Alongside the PR to support MacPorts ffi#638 this commits adds support for the new homebrew path.
es pushed a commit to cheddar-me/ffi that referenced this pull request Mar 29, 2021
As the homebrew team discussed in Homebrew/brew#9177 the new library path for homebrew on apple silicon is `/opt/homebrew/lib`. Alongside the PR to support MacPorts ffi#638 this commits adds support for the new homebrew path.
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.

None yet

2 participants