hi everyone,

as you said the breakage was due to the fact that you compiled against a
different version than the one you linked against. the fact that the ABI
is not backwards compatible is also known and accepted, that's the
reason there is only a static library and not a shared one. the ABI is
meant to change on each version update, or at least is never guaranteed
to stay the same, so there isn't really that much to document specific
to this version.

I do agree that comparing a version from the header with the one in the
lib would be a usefull thing, but it is more of an upstream suggestion
than a debian packaging problem. also note that unless you do some
linker or preprocessor trickery (which is a bit objectionable as well),
that check would still have to be done by the calling program...

all in all: I understand your problem but don't quite see what we can do
about it except pointing out that it's a static library, which implies
that you need to link against the same stuff that you compiled
against...

regards  robert

-- 
Robert Lemmen                               http://www.semistable.com 

Attachment: signature.asc
Description: Digital signature

Reply via email to