Arch numa-git dependencies - error while loading shared libraries #97

Closed
opened 2026-04-13 19:39:41 +08:00 by bcookatpcsd · 1 comment
bcookatpcsd commented 2026-04-13 19:39:41 +08:00 (Migrated from github.com)

llvm-libs also needs to be installed

yay -S cargo numa-git

will fail:

==> Making package: numa-git 0.13.0.r10.g5381e65-1 (Mon 13 Apr 2026 07:27:38 AM EDT)
==> Retrieving sources...
  -> Cloning numa git repo...
Cloning into bare repository '~/.cache/yay/numa-git/numa'...
remote: Enumerating objects: 2219, done.
remote: Counting objects: 100% (757/757), done.
remote: Compressing objects: 100% (233/233), done.
remote: Total 2219 (delta 598), reused 579 (delta 524), pack-reused 1462 (from 2)
Receiving objects: 100% (2219/2219), 3.79 MiB | 18.84 MiB/s, done.
Resolving deltas: 100% (1548/1548), done.
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    numa ... Skipped
:: (1/1) Parsing SRCINFO: numa-git
==> Making package: numa-git 0.13.0.r10.g5381e65-1 (Mon 13 Apr 2026 07:27:39 AM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating numa git repo...
==> Validating source files with sha256sums...
    numa ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of numa git repo...
Cloning into 'numa'...
done.
==> Starting prepare()...
    Updating crates.io index
error: process didn't exit successfully: `rustc -vV` (exit status: 127)
--- stderr
rustc: error while loading shared libraries: libLLVM.so.22.1: cannot open shared object file: No such file or directory

this should get the same error:

rustc -vV
rustc: error while loading shared libraries: libLLVM.so.22.1: cannot open shared object file: No such file or directory

to resolve:

yay -S llvm-libs

rustc -vV
rustc 1.94.1 (e408947bf 2026-03-25) (Arch Linux rust 1:1.94.1-1.1)
binary: rustc
commit-hash: e408947bfd200af42db322daf0fadfe7e26d3bd1
commit-date: 2026-03-25
host: x86_64-unknown-linux-gnu
release: 1.94.1
LLVM version: 22.1.1

Not sure if you have control over the arch PKGBUILD (looks like you might.. )

makedepends=('cargo' 'git')

makedepends=('cargo' 'git' 'llvm-libs')

Thank you in advance.

llvm-libs also needs to be installed yay -S cargo numa-git will fail: ``` ==> Making package: numa-git 0.13.0.r10.g5381e65-1 (Mon 13 Apr 2026 07:27:38 AM EDT) ==> Retrieving sources... -> Cloning numa git repo... Cloning into bare repository '~/.cache/yay/numa-git/numa'... remote: Enumerating objects: 2219, done. remote: Counting objects: 100% (757/757), done. remote: Compressing objects: 100% (233/233), done. remote: Total 2219 (delta 598), reused 579 (delta 524), pack-reused 1462 (from 2) Receiving objects: 100% (2219/2219), 3.79 MiB | 18.84 MiB/s, done. Resolving deltas: 100% (1548/1548), done. ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... numa ... Skipped :: (1/1) Parsing SRCINFO: numa-git ==> Making package: numa-git 0.13.0.r10.g5381e65-1 (Mon 13 Apr 2026 07:27:39 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating numa git repo... ==> Validating source files with sha256sums... numa ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of numa git repo... Cloning into 'numa'... done. ==> Starting prepare()... Updating crates.io index error: process didn't exit successfully: `rustc -vV` (exit status: 127) --- stderr rustc: error while loading shared libraries: libLLVM.so.22.1: cannot open shared object file: No such file or directory ``` this should get the same error: ``` rustc -vV rustc: error while loading shared libraries: libLLVM.so.22.1: cannot open shared object file: No such file or directory ``` to resolve: ``` yay -S llvm-libs rustc -vV rustc 1.94.1 (e408947bf 2026-03-25) (Arch Linux rust 1:1.94.1-1.1) binary: rustc commit-hash: e408947bfd200af42db322daf0fadfe7e26d3bd1 commit-date: 2026-03-25 host: x86_64-unknown-linux-gnu release: 1.94.1 LLVM version: 22.1.1 ``` Not sure if you have control over the arch PKGBUILD (looks like you might.. ) makedepends=('cargo' 'git') makedepends=('cargo' 'git' 'llvm-libs') Thank you in advance.
razvandimescu commented 2026-04-13 22:10:27 +08:00 (Migrated from github.com)

@bcookatpcsd thank you for reporting this, ive added 'llvm-libs' to makedeps in #99

@bcookatpcsd thank you for reporting this, ive added 'llvm-libs' to makedeps in #99
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dearsky/numa#97