You are not logged in.

#1 2019-11-02 18:49:04

AnonMathematician
Member
Registered: 2019-10-12
Posts: 10

Issue while downgrading Clang

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

#2 2019-11-02 18:54:29

loqs
Member
Registered: 2014-03-06
Posts: 9,074

Re: Issue while downgrading Clang

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

#3 2019-11-02 19:24:46

AnonMathematician
Member
Registered: 2019-10-12
Posts: 10

Re: Issue while downgrading Clang

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

#4 2019-11-02 19:56:07

progandy
Member
Registered: 2012-05-17
Posts: 3,585

Re: Issue while downgrading Clang

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

Board footer

Powered by FluxBB