Hi, the latest update (0.20.2-1ubuntu4.2) broke bpftrace on ubuntu
24.04.

The linker tries to use libLLVM-18.so.18.1 and libLLVM.so.18.1

I had to downgrade to version 0.20.2-1ubuntu4. This version does not
include the link to libLLVM-18.so.18.1 and works fine.

cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/";
SUPPORT_URL="https://help.ubuntu.com/";
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

dpkg -l bpftrace
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version           Architecture Description
+++-==============-=================-============-==========================================
ii  bpftrace       0.20.2-1ubuntu4.2 amd64        high-level tracing language 
for Linux eBPF

/usr/bin/bpftrace
/usr/bin/bpftrace: error while loading shared libraries: libLLVM-18.so.18.1: 
cannot open shared object file: No such file or directory

ldd /usr/bin/bpftrace | grep -i llvm
        libLLVM-18.so.18.1 => not found
        libLLVM.so.18.1 => /lib/x86_64-linux-gnu/libLLVM.so.18.1 
(0x00007cd13fc00000)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2081848

Title:
  fix underlinking with recent LLVM 18.1.8 backport

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bpftrace/+bug/2081848/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to