Hi Lee!
On 12/9/22 23:24, Lee Duncan wrote:
As I said, our open build service handles this fine. But when I submit
On Freitag, 9. Dezember 2022 23:34:39 CET John Paul Adrian Glaubitz wrote: this same package to SUSE for SLE, it complains:
[ 117s] libopeniscsiusr0_2_0.x86_64: E: shlib-policy-name-error (Badness: 10000) libopeniscsiusr0 [ 117s] Your package contains a single shared library but is not named after its [ 117s] SONAME.
So it _looks_ like it's suggesting the package be named "libopeniscsiusr0"? But the "libopeniscsiusr0" file is just a symlink.
The SONAME of the library is "libopeniscsiusr.so.0", and thats what matters.
As far as I know, ABI version numbers are normally single digit so that your package should be indeed named "libopeniscsiusr0" and not "libopeniscsiusr0_2_0".
As far as the linker is concerned, the SONAME is just a string. Depending on the project, the SONAME may include one or more numbers. The position of the numbers does not matter much, foobar.so.1 is as good as foobar-1.so. (Though, occasionaly you find libraries without any numbers, which is bad).
I don't remember having seen any library package that has a non-single-digit version number in its name.
There are plenty. Regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019