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

Re: Library version in name vs. so version



Brian May wrote:
> >>>>> "Goswin" == Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de> writes:
> 
>     Goswin> Just make damn sure the ABI stays the same between
>     Goswin> upgrades.
> 
> Obviously if you don't, fixing the situation up again can be painful.
> 
> (see curl version 7.12.0.is.7.11.2-1 or bug #252348 for example).
> 
> Is it possible to have some sort of program automatically scan the *.h
> files and/or *.so files to ensure that a newer library version really
> is compatible? Even if it only detects certain types of changes
> (eg. removed symbols) it could still be used as a last check when all
> other manual checks pass.

Objdump the dynamic symbol table of the binary. Of course, this won't
catch changes in semantics.


Thiemo



Reply to: