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

Re: Shared libs dependencies



Sven Joachim <svenjoac@gmx.de> writes:

> On 2011-09-24 10:16 +0200, Gergely Nagy wrote:
>
>> If a symbol is removed in a later version
>> (and the soname is not bumped, due to a mistake), the above method will
>> result in a library that, when installed, will break any app using the
>> old, removed symbol.
>
> Erm, this will also happen if you don't have symbols files.  In fact,
> using symbols files together with "dpkg-gensymbols -c4" catches this
> kind of mistake.

Yes. And you will catch it if you know what you're doing. If you don't,
you won't, simple as that.

I'm not saying you can't catch things like that, I'm saying that if you
don't know this can happen, it's very likely you won't catch them. And
if one just blindly follows whatever dh_* stuff spews out, without
understanding what and why they do, the chances increase.

That's all I'm saying: use the tools, but don't blindly trust them.

-- 
|8]


Reply to: