https://bugs.winehq.org/show_bug.cgi?id=42481
Bug ID: 42481 Summary: Wine does not work well with nonstandard library locations on macOS with SIP Product: Wine Version: 2.2 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jobstz@posteo.de
With the introduction of SIP (System integrity protection) there is no longer any propagation of DYLD_* environment variables to child processes. This effectively means that wine has (big) troubles finding libraries in non-standard locations. One solution would be to use absolute linking paths to the libs. That could probably be enabled by a configure option. I am unsure of the consequences though...
See also: https://github.com/Homebrew/homebrew-core/issues/8846