Skip to content
New issue

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

doesn't build on ubuntu 18.04 LLVMgold.so missing #16

Closed
vird opened this issue Nov 3, 2018 · 1 comment
Closed

doesn't build on ubuntu 18.04 LLVMgold.so missing #16

vird opened this issue Nov 3, 2018 · 1 comment
Labels

Comments

@vird
Copy link

vird commented Nov 3, 2018

In fact sorry about posting here, but uWebSockets doesn't accept issues.
preparations

# make new machine on cloud hetzner
mkdir uws
cd uws
git clone https://github.com/uNetworking/uWebSockets --recursive
apt install -y make clang libssl-dev
cd uWebSockets
make

output

clang -flto -O3 -c -IuSockets/src uSockets/src/*.c uSockets/src/eventing/*.c
clang++ -flto -O3 -c -std=c++17 -Isrc -IuSockets/src examples/HelloWorld.cpp
clang++ -flto -O3 -s *.o -o HelloWorld
/usr/bin/ld: /usr/lib/llvm-6.0/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-6.0/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)
Makefile:4: recipe for target 'examples' failed
make: *** [examples] Error 1

apt install -y llvm doesn't help

clang -v

clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.3.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.3.0
Candidate multilib: .;@m64
Selected multilib: .;@m64
@ghost
Copy link

ghost commented Nov 3, 2018

Please do not open issues regarding other projects. Also, do not report build errors, they are almost entirely caused by user error or third party errors. 95 out of 100 bug reports are build issues, I don't take them.

I don't know what your particular issue is about, but I know how to use Google and I found this: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1254970

Next time please Google yourself, your compiler clearly stated a perfectly Google-able line.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant