This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I know if libraries are old?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]