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