Missing dependency on libsnappy1v5

Bug #2072656 reported by Simon Déziel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
New
Undecided
Unassigned

Bug Description

On Noble, installing `ceph-common` result in one of the .so to be missing a dependent .so:

```
$ lxc launch ubuntu-daily:24.04 c1
$ lxc shell c1
root@c1:~# apt-get update && apt-get install -Vy ceph-common
...
root@c1:~# dpkg -L ceph-common | grep snap
/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so.2.0.0
/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so
/usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so.2
```

This `libceph_snappy.so.2.0.0` in turn depends on `libsnappy.so.1` but it's not found:

```
root@c1:~# ldd /usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so.2.0.0
 linux-vdso.so.1 (0x00007ffd72b74000)
 libsnappy.so.1 => not found
 libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007643adce4000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007643adcb7000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007643adaa5000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007643ad9bc000)
 /lib64/ld-linux-x86-64.so.2 (0x00007643adf72000)
```

This `libsnappy.so.1` is normally provided by the `libsnappy1v5` package and installing it manually fixes it:

```
root@c1:~# apt-get install -y libsnappy1v5
...
root@c1:~# ldd /usr/lib/x86_64-linux-gnu/ceph/compressor/libceph_snappy.so.2.0.0
 linux-vdso.so.1 (0x00007ffdb7b25000)
 libsnappy.so.1 => /lib/x86_64-linux-gnu/libsnappy.so.1 (0x00007537db3ed000)
 libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007537db170000)
 libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007537db143000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007537daf31000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007537dae48000)
 /lib64/ld-linux-x86-64.so.2 (0x00007537db409000)
```

For some reason, `ceph-common` had a dependency on `libsnappy1v5` in Jammy but it was lost afterward, causing this issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.