You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The SONAME produced by the cmake build for protobuf/3.19.6 is 3.19.6.0 when it should be 30.
The versioning of the protobuf cmake builds is incorrect and has been broken for some time within the protobuf repository.
The CMAKE build fails to specify the SOVERSION when building its targets making the binaries incompatible with ones produced by the projects documented build steps using autoconf.
This issue was raised at one point and closed within the protobuf repository, see protocolbuffers/protobuf#8635.
But at some point these changes were dropped.
Official builds of the protobuf available on RHEL & Fedora distributions are built using autoconf and reflect that with the SONAME contained within the libraries.
Making project compiled with protobuf through conan incompatible with the ones on the runtime target system even if they are the same version.
Additional patches need to be made to the conan supported protobuf versions to add the missing SOVERSION definition to the cmake build files.
Description
The SONAME produced by the cmake build for protobuf/3.19.6 is 3.19.6.0 when it should be 30.
The versioning of the protobuf cmake builds is incorrect and has been broken for some time within the protobuf repository.
The CMAKE build fails to specify the SOVERSION when building its targets making the binaries incompatible with ones produced by the projects documented build steps using autoconf.
This issue was raised at one point and closed within the protobuf repository, see protocolbuffers/protobuf#8635.
But at some point these changes were dropped.
Official builds of the protobuf available on RHEL & Fedora distributions are built using autoconf and reflect that with the SONAME contained within the libraries.
Making project compiled with protobuf through conan incompatible with the ones on the runtime target system even if they are the same version.
Additional patches need to be made to the conan supported protobuf versions to add the missing SOVERSION definition to the cmake build files.
Package and Environment Details
Conan profile
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=8
os=Linux
Steps to reproduce
command to lookup soname in conan provided protobuf library.
readelf -d ~/.conan2/p/b/proto583ee1ff7174d/p/lib/libprotobuf.so.3.19.6.0 | grep -i soname
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: