Re: [rfc] Clarify shared library warning

Eli Zaretskii
2006-10-13T15:10:57Z

> From: Andreas Schwab <schwab@suse.de>
> Cc: Joel Brobecker <brobecker@adacore.com>, drow@false.org,
> mark.kettenis@xs4all.nl, gdb-patches@sourceware.org
> Date: Thu, 12 Oct 2006 16:46:02 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > How about this, then:
> >
> > warning: .dynamic section for "/lib/libc.so.6" is not at the expected address
> > (wrong library or library version mismatch?)
>
> Isn't "wrong library" a superset of "library version mismatch"?

It is, but messages to users don't need such mathematical rigour. I
imagine some users won't immediately realize that ``wrong library''
might mean libc.so.6 instead of libc.so.7; ``version mismatch'' goes a
long way towards spelling out that possibility, IMO.