Date: Thu, 8 Nov 2007 20:59:51 +0300 From: Yuri Pankov <yuri.pankov@gmail.com> To: John Smith <lbalbalba@gmail.com> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: Determine FreeBSD version of binary Message-ID: <20071108175951.GC18314@darklight.org.ru> In-Reply-To: <6dcf0dbc0711080901g49043bb1u1a8e38cfacbde15c@mail.gmail.com> References: <6dcf0dbc0711080901g49043bb1u1a8e38cfacbde15c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 08, 2007 at 06:01:40PM +0100, John Smith wrote: > Hi, > > > > I was wondering if it was possible to determine for what version of > FreeBSD a binary was compiled, purely by examining the binary? > > > Any and all help and suggestions are greatly appreciated, > > > > Thanks, > > > john Smith May be not entirely correct, but close: ldd binary | grep libc.so libc.so.4 - 4.x, libc.so.5 - 5.x, libc.so.6 - 6x, libc.so.7 - 7.x (and 8-CURRENT at the moment). HTH, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071108175951.GC18314>