Skip to content

lyaml dependency inexplicit #60

@almereyda

Description

@almereyda

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions