Hi,
There seems to be an issue with Crystal language causing an error when trying to run/build crystal files:
/usr/bin/ld: cannot find -lgc (this usually means you need to install the development package for libgc): No such file or directory
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc "${@}" -o /home/kenta/.cache/crystal/usr-lib64-crystal-src-ecr-process.cr/macro_run -rdynamic -L/usr/bin/../lib/crystal -lm -lgc -lpthread -levent -lrt -lpthread -ldl`
As the error message is very straightforward, I made sure that devel package of libgc is installed and I still receive this error. Has this been reported previously?
Worth mentioning that I've ran ld to see if it can pick it up anywhere:
ld: mode elf_x86_64
attempt to open /usr/x86_64-solus-linux/lib64/libgc.so failed
attempt to open /usr/x86_64-solus-linux/lib64/libgc.a failed
attempt to open /usr/lib64/libgc.so failed
attempt to open /usr/lib64/libgc.a failed
attempt to open /lib64/libgc.so failed
attempt to open /lib64/libgc.a failed
attempt to open /usr/lib32/libgc.so failed
attempt to open /usr/lib32/libgc.a failed
attempt to open /lib32/libgc.so failed
attempt to open /lib32/libgc.a failed
attempt to open /usr/x86_64-solus-linux/lib/libgc.so failed
attempt to open /usr/x86_64-solus-linux/lib/libgc.a failed
ld: cannot find -lgc: No such file or directory
attempt to open /usr/x86_64-solus-linux/lib64/libgc.so failed
attempt to open /usr/x86_64-solus-linux/lib64/gc.a failed
attempt to open /usr/lib64/libgc.so failed
attempt to open /usr/lib64/gc.a failed
attempt to open /lib64/libgc.so failed
attempt to open /lib64/gc.a failed
attempt to open /usr/lib32/libgc.so failed
attempt to open /usr/lib32/gc.a failed
attempt to open /lib32/libgc.so failed
attempt to open /lib32/gc.a failed
attempt to open /usr/x86_64-solus-linux/lib/libgc.so failed
attempt to open /usr/x86_64-solus-linux/lib/gc.a failed