[emacs] Emacs needs recompilation due to libLLVM changes
$ emacs emacs: error while loading shared libraries: libLLVM-3.9.so: cannot open shared object file: No such file or directory
emacs-nox is unaffected as it launches correctly.
Updated by isacdaavid about 5 years ago
@everyone: i have an updated system and my emacs is still launching just fine.
Installing llvm38-libs solves the problem when the issue if for libLLVM-3.8.so.
that's just coincidence. in the repos, llvm38-libs is only depended upon by another (broken) [pcr] package: pocl. those packages shouldn't be there anyway, afaict.
but a question remains: what's causing the error for others? maybe a partial upgrade?
Updated by amanita about 5 years ago
@everyone: After Megver83 helped me solve this problem by installing llvm38-libs, emacs worked again.
Today I wanted to update the system and there was a conflict with llvm38-libs. I removed the package, updated, and now emacs won't start again. Thought I could reinstall llvm38-libs but it is no longer in the repos.
Meanwhile emacs shows the same error as before:
emacs: error while loading shared libraries: libLLVM-3.8.so: cannot open shared object file: No such file or directory
$ LD_DEBUG=files emacs | grep libllvm
file=libLLVM-3.8.so ; needed by /usr/lib/libOpenCL.so.1 
which is in ocl-icd 2.2.11-1 package, which is not installed in my system, yet libOpenCL.so.1 is indeed present in /usr/lib/
Any idea what the matter could be and how to make emacs run again? Should I report and wait for response upstream?
Updated by baz_a_bar almost 5 years ago
Just curious: why is this marked fixed? I hit this bug as well and manual resolution through installation of a dependency doesn't seem like the proper way. Shouldn't ocl-icd be added to dependencies? Why does the emacs (and others) build at all without ocl-icd?