lib/x86_64-linux-gnu/libKF5FileMetaData.so | lib/libKF5FileMetaData.3.dylib

René J. V. Bertin rjvbertin at gmail.com
Thu Dec 17 11:51:42 UTC 2015


šumski wrote:

>> Yes, bug fixes can do that ;)
> Yes, but frameworks are under BC guarantee.

So how are bugs supposed to be fixed if they break ABI compatibility?

If I'm not mistaken Linux will not check beyond shared library file names. If 
that's correct, the build system can install a libKF5FMD.so.3 file that links to 
libKF5FMD.so.5 then applications that haven't been relinked should load and run.

This isn't a typical version of ABI breakage, btw. And I have a hunch that users 
who build from source won't even notice the change because libKF5FMD.so.3 and 
libKF5FMD.so.5.16.0 will not be uninstalled when you install KFileMetaData 
5.17.0 . It will be different for users who get their binaries from an upstream 
packager/distribution ... and it'll be trivial for those to provide relinked 
dependent packages. (MacPorts will scan for and pick up this kind of change, 
queuing affected dependents for a rebuild; I cannot imagine that Linux packaging 
systems do not have such a convenience feature.)

R.


More information about the Kde-frameworks-devel mailing list