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

llvm installed in /usr/local seems to be incomplete #8925

Closed
gerddie opened this issue Dec 15, 2017 · 2 comments
Closed

llvm installed in /usr/local seems to be incomplete #8925

gerddie opened this issue Dec 15, 2017 · 2 comments

Comments

@gerddie
Copy link

gerddie commented Dec 15, 2017

In this build llvm-config for version 5.0 is found:

  Found llvm-config: /usr/local/clang-5.0.0/bin/llvm-config (5.0.0git-929163d)

but later llvm-config reports

llvm-config: error: libLLVM-5.0.so is missing

so it seems something is wrong with the set-up.

@BanzaiMan
Copy link
Contributor

Do you know why your tool is looking for a file with that name? Such a file does not exist in the LLVM 5.0.0 archive.

travis@49038669f36c:~$ curl -sO http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz
travis@49038669f36c:~$ tar tvf clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz | grep lib[^/]*\.so$
-rw-r--r-- bcain/users      28 2017-09-07 23:10 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/libc++.so
-rw-r--r-- bcain/users  787143 2017-09-07 23:11 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/libomp.so
lrwxrwxrwx bcain/users        0 2017-09-07 23:43 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/libgomp.so -> libomp.so
lrwxrwxrwx bcain/users        0 2017-09-07 23:43 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/libiomp5.so -> libomp.so
-rw-r--r-- bcain/users   501585 2017-09-07 23:11 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.so
-rw-r--r-- bcain/users   489952 2017-09-07 23:11 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.so
-rw-r--r-- bcain/users  2451258 2017-09-07 23:19 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/clang/5.0.0/lib/linux/libclang_rt.asan-x86_64.so
-rw-r--r-- bcain/users   455221 2017-09-07 23:11 clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/lib/clang/5.0.0/lib/linux/libclang_rt.dyndd-x86_64.so
travis@49038669f36c:~$

@gerddie
Copy link
Author

gerddie commented Dec 15, 2017

It's a bug in the meson build system, they explicitly search for the dynamic library that is typically provided on Debian+derivatives. Sorry for the noise.

@gerddie gerddie closed this as completed Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants