Could not build systemd

hi

trwtied to build systemd, but it didn’t want, because missing libLLVM.so.19.1

--- stderr ---
/usr/bin/clang: error while loading shared libraries: libLLVM.so.19.1: cannot open shared object file: No such file or directory

systemd/meson.build:1099:28: ERROR: Command `/usr/bin/clang --version` failed with status 127.

but it should be persent

tom@cachyos ~/compile/systemd # pacman -F libLLVM.so.19.1   
cachyos-v4/llvm-libs 19.1.6-4 [installed: 18.1.8-7]
    usr/lib/libLLVM.so.19.1
extra/llvm-libs 19.1.6-3 [installed: 18.1.8-7]
    usr/lib/libLLVM.so.19.1
multilib/lib32-llvm-libs 1:19.1.6-1 [installed]

looks like only the lib32 is installed

You need to update your system. It seems like you dont have the latest clang installed.

mein system ist immer aktuell, das problem liegt eher in der makepkg-optimized-mold.conf, die kommt schon “verbogen” aus dem paket, und ich konnte sie bis her nicht hin biegen.

1 Like

post pacman -Q | grep llvm-libs

tom@cachyos ~ % pacman -Q | grep llvm-libs
llvm-libs 19.1.6-4

i was able to build systemd, but not with makepkg-optimized-mold.conf