docker icon indicating copy to clipboard operation
docker copied to clipboard

vlang docker compile error

Open hanabi1224 opened this issue 4 years ago • 1 comments

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

hanabi1224 avatar Jan 31 '21 20:01 hanabi1224

Maybe have a look into this thread: https://github.com/vlang/v/issues/8682

muuvmuuv avatar Feb 12 '21 17:02 muuvmuuv