[Bug 2097317] Re: bpftrace: error while loading shared libraries: libLLVM-18.so.18.1: cannot open shared object file: No such file or directory

Launchpad Bug Tracker 2097317 at bugs.launchpad.net
Mon Feb 10 11:47:29 UTC 2025


This bug was fixed in the package bpftrace - 0.20.2-1ubuntu4.3

---------------
bpftrace (0.20.2-1ubuntu4.3) noble; urgency=medium

  * Rebuild against llvm-toolchain-18 1:18.1.3-1ubuntu1 to fix error loading
    shared libraries that arises when built against 1:18.1.8-9ubuntu1~24.04.
    (LP: #2097317). Note this upload reverts the changes from bpftrace
    0.20.2-1ubuntu4.2.

 -- Michael Hudson-Doyle <michael.hudson at ubuntu.com>  Wed, 05 Feb 2025
14:33:14 +1300

** Changed in: bpftrace (Ubuntu Noble)
       Status: Fix Committed => Fix Released

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

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

Status in bpftrace package in Ubuntu:
  Confirmed
Status in bpftrace source package in Noble:
  Fix Released

Bug description:
  [impact]
  bpftrace 0.20.2-1ubuntu4.2 is broken with the version of llvm-toolchain-18 in noble-updates:

  Regression from https://bugs.launchpad.net/ubuntu/+source/bpftrace/+bug/2081848
  root at nsnx2:~# bpftrace
  bpftrace: error while loading shared libraries: libLLVM-18.so.18.1: cannot open shared object file: No such file or directory

  [test plan]
  bpftrace runs tests during build which verifies _something_ but also we should install bpftrace on a system that has no other packages from proposed run a simple command such as "sudo bpftrace -e 'kprobe:do_nanosleep { printf("%d sleeping\n", pid); }'".

  [regression potential]
  It is still possible that rebuilding bpftrace is not safe because of some other change in the archive since release. The tests should catch most of these, but if there is some other regression caused by building against a version in proposed and running against a version in release or updates it might not be caught (and sadly neither would the autopkgtests, they just build and run the tests). It's not clear what to do about this (other than improve the autopkgtests).

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




More information about the foundations-bugs mailing list