Open jkoritzinsky opened 2 months ago
@jkoritzinsky if you inspect the xz.spec
the link is created during package installation:
and ls
output:
zcobol@azurelinux [ ~ ]$ ls -l /usr/lib/liblzma.so
lrwxrwxrwx 1 root root 30 Apr 23 2022 /usr/lib/liblzma.so -> ../../usr/lib/liblzma.so.5.2.5
I suspect it's a Docker container assembly issue.
Yes, I suspect that it is an issue with the Azure Linux 3.0 docker image construction (which I believe is also defined in this repo).
Describe the bug The xz package provides versioned SOs,
/usr/lib/liblzma.so.5
and/usr/lib/liblzma.5.4.4
, but it does not provide/usr/lib/liblzma.so
. This breaks any tooling that looks up liblzma.so without a version, such as through autotools.This was found on a docker image based on azurelinuxpreview.azurecr.io/public/azurelinux/base/core:3.0 with no additional packages installed.
To Reproduce Steps to reproduce the behavior:
docker run --rm -it azurelinuxpreview.azurecr.io/public/azurelinux/base/core:3.0 bash
ls /usr/lib/liblzma.so*
Expected behavior
There should be three files,
liblzma.so
,liblzma.so.5
andliblzma.so.5.4.4
, where they each symlink (possibly transitively) toliblzma.so.5.4.4