mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2347] Autodetect more OpenSSL installation paths (for Mac OS X) #1572
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1572
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @solardiz on GitHub (Nov 29, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2347
As summarized in http://www.openwall.com/lists/john-users/2016/08/04/3 recent Mac OS X now needs its OpenSSL installed by weird means, and it gets installed in weird places. This makes it tricky to build JtR jumbo. Let's enhance our
configure.acto check for OpenSSL headers and libraries in those directories by default, much like it already does check for headers in/usr/local/sslnow. (We were just reported, privately, of a failed build attempt on Mac OS X where./configurefinds the headers, but not the libraries. I don't know how exactly this happened, but I expect issues and reports of this sort to be frequent unless we look for both of these things in multiple directories that various Mac OS X tools install into by default.)@magnumripper commented on GitHub (Nov 29, 2016):
For Homebrew, paths are /usr/local/opt/openssl/lib and /usr/local/opt/openssl/include. I thought things like this is exactly what pkg-config was supposed to help with, alas it doesn't
@magnumripper commented on GitHub (Nov 29, 2016):
The current doc/INSTALL instructions for OS X are up to date though, and not exactly tricky.
@magnumripper commented on GitHub (Aug 31, 2018):
#3391 works fine on my Macbook, we'll see how many non-macOS systems it breaks...
@solardiz commented on GitHub (Sep 1, 2018):
Thanks, magnum! I think we (you?) should mention in the recent thread on john-users that this issue is now believed to be fixed. We may then hear from more people testing the changes soon.
@solardiz commented on GitHub (Sep 2, 2018):
In
doc/INSTALL, we have:That's a step I'd expect most people would skip at first. Is this the default configuration of OS X / macOS? If not, I think this is something we should workaround in our tree.
@magnumripper commented on GitHub (Sep 3, 2018):
I can't recall if I wrote that because the default was having
/usr/local/binlast in the path or if it wasn't in the path at all (I think it was the former). Also, that was several iterations of macOS ago so things may have changed.