This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How can I know if libraries are old?
- From: Ian Lance Taylor <iant at google dot com>
- To: "Dr. David Kirkby" <david dot kirkby at onetel dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 20 Oct 2010 06:57:22 -0700
- Subject: Re: How can I know if libraries are old?
- References: <4CBEF2F8.7060800@onetel.net>
On Wed, Oct 20, 2010 at 6:47 AM, Dr. David Kirkby
<david.kirkby@onetel.net> wrote:
> Is there a way I can see what c++ library someone has, and determine if it's
> older than the one I built the program with? If so, they need to get a more
> recent library and have that in their linker search path before the old one.
readelf -V should work. It will show you the versions defined by the
library. Look at the contents of the "Version definition section".
Ian