docker
docker copied to clipboard
vlang docker compile error
Repro command:
docker run --rm thevlang/vlang v -prod examples/hanoi.v
Error:
==================
/usr/bin/ld: /usr/lib/llvm-7/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-7/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...
==================
(Use `v -cg` to print the entire error message)
builder error:
==================
C error. This should never happen.
If you were not working with C interop, please raise an issue on GitHub:
https://github.com/vlang/v/issues/new/choose
You can also use #help on Discord: https://discord.gg/vlang
Maybe have a look into this thread: https://github.com/vlang/v/issues/8682