Hi ppl!
I have a error in a latest (0.11.3-1) bpftrace package:
bpftrace: error while loading shared libraries: libclang-cpp.so.10:
cannot open shared object file: No such file or directory
This doesnt exist in the repos.
libclang-cpp.so.11
does though - from package clang
Are you fully up to date?
Yep! I wil try reinstall bpftrace and clang packages:
$ sudo rm /var/cache/pacman/pkg/clang-*; sudo rm /var/cache/pacman/pkg/bpftrace-*
$ sudo pacman -Syyuu
$ sudo pacman -S clang bpftrace
Packages to reinstall: bpftrace-0.11.3-1 clang-11.0.0-1
And of course i get error.
$ ldd $(which bpftrace)|grep 'libclang-cpp'
libclang-cpp.so.10 => not found
Thats pretty odd as its the same versions across all branches and I dont get the same error.
(Manjaro - Branch Compare)
$ ldd $(which bpftrace)|grep 'libclang-cpp'
libclang-cpp.so.11 => /usr/lib/libclang-cpp.so.11 (0x00007faf6f8e1000)
Maybe we should sort your mirrors?
sudo pacman-mirrors -f && sudo pacman -Syyu
Edit .. but .. heh, then again .. you supposedly already have the correct packages installed..
I resort repos, reinstall packages with pacman -Syyuu clang bpftrace
(versions same as @ branch compare) and… get error again.
I remove bpftrace package and install it again… It’s very strange, it works!