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
Invalid option: -v
when linking with libcrypto
/libssl
#12061
Comments
Invalid option: -v
when linking with libcrypto
Invalid option: -v
when linking with libcrypto
/libssl
It's probably because shell expansion is not yet implemented for |
@Blacksmoke16 can you try your test code again but using the PR code above? |
@mdwagner Probably easier if you did it given you already have everything built. The test code is just those two lines. |
I would, but my machine is having some problems with openssl in general. Just thought I'd ask since you originally posted. I'll try to figure it out. |
@mdwagner Applying your change resolves the issue. At least on my system; can't speak for other OS/arch if those would be any diff. |
Thanks @Blacksmoke16. I was able to make a spec that essentially does exactly what your test code does and got that to pass. |
I can verify from I3oris/ic#5 that merging this fix into |
Following is backtrace when i run
Crystal 1.5.0-dev [0123976] (2022-06-09) LLVM: 13.0.1 |
crystal i test.cr
.I looked into this a bit, and am pretty sure it's because of the
Link
annotation having-v
within it: https://github.com/crystal-lang/crystal/blob/master/src/openssl/lib_crypto.cr#L37.Stacktrace
EDIT:
libssl
also has a-v
flag.The text was updated successfully, but these errors were encountered: