In the original version of "btrfs-progs: libify some parts of
btrfs-progs" by Mark Fasheh, the soname field of the internal libbtrfs
library was set to "libbtrfs.so.1".  This doesn't match the filename
of the library (libbtrfs.so.0.1) which is unusual.

However in the version which went upstream, the soname was changed to
just "libbtrfs.so".  There doesn't seem to be any mention of why this
was changed.  This soname doesn't follow the normal convention, and
confuses some tools that we use in Fedora to handle shared libraries.

This patch changes the soname to "libbtrfs.so.0" to match the filename
and the usual convention for sonames.  It would also allow a future
version of this library to make breaking ABI changes by changing the
soname (eg. to "libbtrfs.so.1"), but allowing callers to use either
the old or the new version.

Rich.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to