-
Notifications
You must be signed in to change notification settings - Fork 19
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
[BUG]: macOS ARM build depends on libomp from Homebrew #723
Comments
I think we should either avoid the external dependency (preferable) or document how to satisfy it (a problematic workaround). To avoid the dependency, is static linking an option? Or including the dynamic library in the tarball? I haven't looked into how this build is done. Apparently, we use a compiler packaged by Homebrew? Are there other options we could use? |
Let's deal with this in parts. BTW: It is not only libomp:
Maybe/probably. But I'm not the person to say the final word.
Documentations says (https://github.com/openwall/john-packages/pkgs/container/john#-macos): 📂 macOS[...] Install required Homebrew packages (if not already installed): brew update
brew install libomp openssl gmp [...] ------------------ Oh, I forgot about this ------------------ |
Moving forward: The biggest problems are:
Solution?
[1] This is John "proper" itself, so you need to be happy with the idea and think about its consequences for the whole project. [2] I like the idea. |
|
Do not install libraries marked as keg-only in Homebrew [1]. [1] which means it is not symlinked into /usr/local because macOS already provides this software. Installing another version in parallel can cause conflicts and other issues. See: #723. Signed-off-by: Claudio André <[email protected]>
Do not install libraries marked as keg-only in Homebrew [1]. [1] which means it is not symlinked into /usr/local because macOS already provides this software. Installing another version in parallel can cause conflicts and other issues. See: #723. Signed-off-by: Claudio André <[email protected]>
Which version of the application are you using?
1.9.1-ce
Description of the bug
A user reported that running
macOS-ARM_1_JtR/run/dmg2john
fails on not finding/opt/homebrew/opt/libomp/lib/libomp.dylib
.Steps To Reproduce
I suppose download current latest macOS ARM build from this repo and run
dmg2john
(or indeedjohn
).Your execution environment
I don't know, but a Mac that was able to run the program up to the point of not finding the library.
The text was updated successfully, but these errors were encountered: