We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
With crystal installed with asdf-crystal (https://github.com/marciogm/asdf-crystal) plugin, amber fails to build at 'shards install':
Dependencies are satisfied Building: ameba Error target ameba failed to compile: /usr/bin/ld: cannot find -levent collect2: error: ld returned 1 exit status Error: execution of command failed with code: 1: `cc "${@}" -o '/DATA/zenny/Downloads/gitrepos/crystal-projects/amber-stable/lib/ameba/bin/ameba' -rdynamic -lyaml -lpcre -lm -lgc -lpthread /home/zenny/.asdf/installs/crystal/0.24.2/share/crystal/src/ext/libcrystal.a -levent -lrt -ldl -L/usr/lib -L/usr/local/lib` Makefile:7: recipe for target 'build' failed make: *** [build] Error 1
Even created a request to asdf-crystal developer to create a similar plugin at asdf-community/asdf-crystal#13.
Cheers, /z
The text was updated successfully, but these errors were encountered:
Hi @zenny
Try shards install --production and shards build -v
shards install --production
shards build -v
Then copy bin/amber to your /usr/local/bin path
bin/amber
/usr/local/bin
Sorry, something went wrong.
I would guess this is a problem with the crystal asdf plugin. The error is here:
/usr/bin/ld: cannot find -levent which is a problem with how the Crystal dependency on libevent is specified.
/usr/bin/ld: cannot find -levent
No branches or pull requests
Hi,
With crystal installed with asdf-crystal (https://github.com/marciogm/asdf-crystal) plugin, amber fails to build at 'shards install':
Even created a request to asdf-crystal developer to create a similar plugin at asdf-community/asdf-crystal#13.
Cheers,
/z
The text was updated successfully, but these errors were encountered: