Closed sardaukar closed 2 years ago
Running Manjaro Linux. Got this when doing shards build crystalline --release --no-debug --progress -Dpreview_m on master:
shards build crystalline --release --no-debug --progress -Dpreview_m
Resolving dependencies Fetching https://github.com/hugopl/version_from_shard.git Fetching https://github.com/spider-gazelle/priority-queue.git Fetching https://github.com/spider-gazelle/bisect.git Fetching https://github.com/samueleaton/sentry.git Installing version_from_shard (1.2.4) Installing bisect (1.2.1) Installing priority-queue (1.0.1) Installing sentry (0.3.2 at cd86128) Building: crystalline Error target crystalline failed to compile: /usr/bin/ld: cannot find /home/sardaukar/.asdf/installs/crystal/1.2.2/share/crystal/src/llvm/ext/llvm_ext.o: No such file or directory collect2: error: ld returned 1 exit status Error: execution of command failed with code: 1: `cc "${@}" -o /home/sardaukar/Code/FOREIGN/crystalline/bin/crystalline -rdynamic -L/home/sardaukar/.asdf/installs/crystal/1.2.2/bin/../lib/crystal -lyaml /home/sardaukar/.asdf/installs/crystal/1.2.2/share/crystal/src/llvm/ext/llvm_ext.o `"/usr/bin/llvm-config" --libs --system-libs --ldflags 2> /dev/null` -lstdc++ -lpcre -lm -lgc -lpthread -levent_pthreads -levent -levent -lrt -ldl`
Hey @sardaukar,
I'm not sure why llvm_ext is not provided by the crystal installation here. You could either use docker to build crystalline or produce the llvm_ext object file manually.
llvm_ext
Thanks!
https://github.com/crystal-lang/crystal/issues/12896
Running Manjaro Linux. Got this when doing
shards build crystalline --release --no-debug --progress -Dpreview_m
on master: