You are not logged in.
I am trying the downgrade clang to version 8 (this is required to compile another application. I intend to upgrade again after I do). When I run clang I get the following error:
libLLVM-8.so: cannot open shared object file: No such file or directory
I have tried downgrading LLVM to version 8, but I am still getting the same error. Any help with this would be greatly appreciated. Thanks!
Offline
Arch_Linux_Archive#How_to_restore_all_packages_to_a_specific_date will allow you to downgrade the system but keep it in a consistent state.
You could downgrade llvm-libs but any package depending on it would then break.
If the package you build with clang 8 depends on llvm-libs then it will break when you upgrade the packages again.
Edit:
What package are you trying to build that requires clang 8 and what happens if you trying and build it with clang 9?
Last edited by loqs (2019-11-02 18:57:25)
Offline
I am trying to build Darling https://wiki.darlinghq.org/build_instructions. When I originally tried to compile it on Clang 9, I got an error that I reported on github here https://github.com/darlinghq/darling/issues/573. Others have had success downgrading to Clang 8 as indicated in the thread.
Offline
I suggest you try building in a chroot where you can install an older llvm without interfering with your running system.
You could also look at the PKGBUILDs for llvm7(-libs) and clang6 (AUR) and try to build a version of clang8 that canbe installed in parallel to the official package.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline