sidneys / homebrew-homebrew

sidneys.github.io Homebrew Tap
23 stars 12 forks source link

Mac M1 cannot find libcrypto.a file #7

Open ghost opened 2 years ago

ghost commented 2 years ago

During sidneys/homebrew/chntpw installation there's a finding-a-file error, copied below:

clang: error: no such file or directory: '/usr/local/opt/openssl/lib/libcrypto.a' make: [cpnt] Error 1 make: Waiting for unfinished jobs....

And cannot get what to do next. Thanks.

wdmcclendon commented 2 years ago

I have the same issues as of 4/27/2022

Mine may be associated with the McAfee having a symbolic link to their use if Openssl under "/usr/.local/openssl" like below:

lib -> /usr/local/McAfee/fmp/lib

But I would have expected your scripts to create the proper path there and still populate "libcrypto.a"

wdmcclendon commented 2 years ago

Team,

IN my case, I located the correct library and create the symbolic link below:

cd /usr/local/opt sudo ln -s ../Cellar/openssl@1.0/1.0.2u /usr/local/opt/openssl

ghost commented 2 years ago

Thanks a lot, mate. Accomplished