Comment 6 for bug 2036424

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

It's here https://github.com/canonical/subiquity/blob/main/snapcraft.yaml

and it's clear the files have been patchelfed as they have the interpreter set to /snap/core22/... but for some reason the ones from the latest build don't have rpath set:

ubuntu@juju-fa3835-porterboxen-37:~$ readelf -l ./subiquity-5095/usr/bin/grep-status | grep interpreter
      [Requesting program interpreter: /snap/core22/current/lib/ld64.so.1]
ubuntu@juju-fa3835-porterboxen-37:~$ readelf -l ./subiquity-5108/usr/bin/grep-status | grep interpreter
      [Requesting program interpreter: /snap/core22/current/lib/ld64.so.1]
ubuntu@juju-fa3835-porterboxen-37:~$ readelf -d ./subiquity-5095/usr/bin/grep-status | grep RPATH
 0x000000000000000f (RPATH) Library rpath: [/snap/core22/current/lib/s390x-linux-gnu]
ubuntu@juju-fa3835-porterboxen-37:~$ readelf -d ./subiquity-5108/usr/bin/grep-status | grep RPATH
ubuntu@juju-fa3835-porterboxen-37:~$