Skip to content

Bogus SONAME rejected by rpmlint #238

Description

@glaubitz

The shared library uses an SONAME which is invalid and rejected by rpmlint on openSUSE:

[   82s] libaws-c-common1.0.0.x86_64: W: shlib-unversioned-lib libaws-c-common.so.0unstable
[   82s] Your package matches the Shared Library Policy Naming Scheme but contains an
[   82s] unversioned library. Therefore it is very unlikely that your package can be
[   82s] installed in parallel to another version of this library package. Consider
[   82s] moving unversioned parts into a runtime package.
[   82s] 
[   82s] libaws-c-common1.0.0.x86_64: E: shlib-policy-name-error (Badness: 10000) libaws-c-common0unstable
[   82s] Your package contains a single shared library but is not named after its
[   82s] SONAME.

and:

suse-laptop:/var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/BUILD/aws-c-common-0.3.0/build # readelf -d libaws-c-common.so.1.0.0 |grep SONAME
 0x000000000000000e (SONAME)             Library soname: [libaws-c-common.so.0unstable]
suse-laptop:/var/tmp/build-root/openSUSE_Factory-x86_64/home/abuild/rpmbuild/BUILD/aws-c-common-0.3.0/build #

Would it be possible to use a proper SONAME so that rpmlint no longer complains? I understand the ABI might not be stable at the moment, but I think we can deal with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions