-
Notifications
You must be signed in to change notification settings - Fork 34
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
Can't get ameba to compile on macOS 12.6 #285
Comments
That's a problem with your crystal installation, there's nothing to do here from the ameba's side. |
@tjbarber i don't think it is related to M1 / macOS 12.6. I have the same setup and it compiles successfully on my end. |
@tjbarber It looks like you're either missing libcrypto or the version you have installed is incompatible. You can get assistance for this problem at https://forum.crystal-lang.org/ or in one of the community chats (https://crystal-lang.org/community/#chat). |
@veelenga @Sija The problem is likely caused by a missing lib dependency. |
Ideally, ameba shouldn't depend on libcrypto. A native Crystal implementation would be much easier and avoid an unnecessary dependency. Stdlib currently has no crypographic hash algorithm implemented in native Crystal, though. But the only use of Line 210 in f288cc3
I'm pretty sure an internal checksum for recognizing duplicates does not need a cryptographic hash. String#hash should suffice for that.
|
@straight-shoota Good catch, thanks! We definitely shouldn't depend on libcrypto, I can prepare a PR fixing that. ftr, this dependency was silently introduced in #248. |
fixes mac build issue because of a dependency on libcrypto (crystal-ameba/ameba#285)
Hey y'all, I'm struggling to get ameba to compile on an M1 Mac. I've installed
crystal
throughbrew
. This is my output when I runmake
.This is my
crystal env
:Here is my
brew list
, just in case I'm missing a dependency (I don't think I am, this seems like a linking issue with openssl?):The text was updated successfully, but these errors were encountered: