Skip to content

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

Merged
tduehr merged 1 commit into
ffi:masterfrom
comomac:master
Jul 3, 2018
Merged

tduehr merged 1 commit into
ffi:masterfrom
comomac:master

Conversation

@comomac

@comomac comomac commented Jun 9, 2018

Copy link
Copy Markdown
Contributor

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

tduehr commented Jul 3, 2018

Copy link
Copy Markdown
Member

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.

2 participants