To Require or not to Require?

Matthew Garrett mjg at redhat.com
Fri Aug 12 16:28:56 UTC 2011


On Fri, Aug 12, 2011 at 05:25:17PM +0100, Bryn M. Reeves wrote:

> Third party code built against -devel and depending only on the SONAME is fine
> in this situation as it sticks to the published ABI. In-tree code that plays
> with non-ABI symbols will break and so may need a stricter dep.

It is in this situation, but there are other situations where depending 
on the SONAME will cause breakage. If libfoo 1.1 adds a new symbol, 
anything built against it may fail to run against libfoo 1.0. But how 
will you know that in advance if all you have in your dependencies is 
the SONAME?

-- 
Matthew Garrett | mjg59 at srcf.ucam.org


More information about the devel mailing list