Closed BlobCodes closed 2 years ago
Also, the nightly-alpine version is borked too.
Even if I try to use crystal format
, it complains about missing symbols. (mainly libLLVM-10.so missing)
Looks like the crystal binary is not statically linked as it's supposed to. There is a check that's supposed to ensure that, but for some reason it didn't trigger.
The cause is https://github.com/crystal-lang/crystal/pull/11454 which makes the make install
command rebuild the compiler despite being built previously because of the LLVM_CONFIG
dependency.
The newest nightly docker image of crystallang/crystal seems to have an issue. My CI currently fails with the error message
Could not execute 'crystal': Error executing process: 'crystal': No such file or directory
.Trying this on my local machine gives the following output:
So there seems to be a crystal binary, but some library seems to be missing.