Subject: Re: Versions and uname output
To: Frederick Bruckman <fredb@immanent.net>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 06/10/2003 13:46:59
On Tue, 10 Jun 2003, Frederick Bruckman wrote:
: In that sense, "uname()" and "uname(1)" are not useful at all, since
: they represent the kernel that happens to be installed, and not the
: version of libc or the system headers that the binary was compiled to.
: For the sorts of things that matter to a package (in this case, the
: curses API), you have to pick the nearest, and hope for the best.
Yes, this is the crux of the problem, and it has a solution that is simple
in concept but will require implementation work: Look at the libraries'
version numbers.
libc, even on branches, is versioned: 1.6.1, for instance, ships with
libc.so.12.83.1 (whereas 1.6 shipped with libc.so.12.83).
--
-- Todd Vierling <tv@pobox.com>