[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to prevent binary incompatibilities with libraries (in reference to Bug#320029)



On Wed, Jul 27, 2005 at 10:28:39PM +1000, Mike Williams wrote:
> I need some help with finding a good resolution for Bug#320029.

> In summary, the current version of my 'librmagick-ruby' package was 
> compiled against libmagick6-dev_6.0.6.x.  It works nicely when run with 
> libmagick6_6.0.6.x, but fails when libmagick6 is upgraded to the version 
> currently in unstable (6.2.3.x).

> I have to admit that I don't understand the implications of the failure; 
> does this mean that ABI compatibility has been broken, ie. that there's 
> a bug in the libmagick6 package?

> My package currently Depends on libmagick6, sans version number.  The 
> bug reporter suggested that I depend on a specific version - a thought 
> that had also occurred to me - but I'm not sure that it's the best thing 
> to do.  What do you think?

> I'm not sure how I'd inject a version-number into the libmagick6, 
> wayway, since it's generated by ${shlibs:Depends}.  That's another thing 
> that confuses me: why does the generated dependency not include version 
> info?

I vaguely remember that there was a problem before with the ImageMagick ABI
changing and causing precisely this error for some other package.  If the
ABI has changed, the library package name *must* be changed; if that's so,
then this bug should be cloned and reassigned to libmagick6.

-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature


Reply to: