On Mon, 2010-03-08 at 14:38 +0100, Erich Schubert wrote:

> I wonder whether there is a way to check for such errors automatically
> with lintian; they are bound to arise now and then, aren't they?

Symbol conflict errors happen somewhat often, and it's sometimes
difficult to detect them. I've had to change Dovecot several times
because some library exports a symbol that Dovecot also uses.

I don't know if there's an easy automated way to detect them in a
generic way, but at least for PAM plugins I think it would be possible
to make sure that they only export those symbols that are required by
PAM, everything else would be hidden. Then there shouldn't be any symbol
conflicts. A quick google lookup shows that it should be possible:
http://stackoverflow.com/questions/435352/limiting-visibility-of-symbols-when-linking-shared-libraries

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to