When following the installation instructions, shards fails with
Building: ameba
Error target ameba failed to compile:
/usr/bin/ld: -lyaml kann nicht gefunden werden
collect2: Fehler: ld gab 1 als Ende-Status zurück
Error: execution of command failed with code: 1: `cc "${@}" -o '/home/yala/src/crystallabs/fluence/lib/ameba/bin/ameba' -rdynamic -lyaml -lpcre -lm -lgc -lpthread /usr/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`
make: *** [Makefile:8: bin/ameba] Fehler 1
This can be circumvented by installing luarocks for your system, and then installing lyaml, i.e. for Fedora 28:
dnf install luarocks libyaml-devel
luarocks --server=http://rocks.moonscript.org install lyaml
Then shards will complete as expected.
Thank you for this beautiful, simple wiki.
When following the installation instructions,
shardsfails withThis can be circumvented by installing
luarocksfor your system, and then installing lyaml, i.e. for Fedora 28:Then
shardswill complete as expected.Thank you for this beautiful, simple wiki.