Artsize still not quite right in CURRENT
Fabien Tassin
fta at sofaraway.org
Wed Apr 18 22:12:01 UTC 2001
According to bill davidsen:
>
> | For reference the box is running 2.4.3-ac7, with (I think) a glibc 2.2
> | derived libc (is there some way of getting it to report the library
> | version info?)
>
> Probably, but I usually use "ls -l /lib/libc*" as a quick and dirty.
don't you have a script called 'glibcbug' installed ?
It contains all you need to know (read the source or run it),
else, try this :
========
#include <stdio.h>
#include <gnu/libc-version.h>
int main() {
printf("This is GNU libc %s release version %s\n",
gnu_get_libc_release(), gnu_get_libc_version());
return(1);
}
========
fta at ix:~ $ gcc glibc-version.c -o glibc-version
fta at ix:~ $ ./glibc-version
This is GNU libc stable release version 2.2.2
or even this :
$ ls -l /lib/libc-*.so
-rwxr-xr-x 1 root root 1108076 Mar 24 08:01 /lib/libc-2.2.2.so
$ strings /lib/libc-2.2.2.so | grep version
....
GNU C Library stable release version 2.2.2, by Roland McGrath et al.
Compiled by GNU CC version 2.95.3 20010315 (Debian release).
crypt add-on version 2.1 by Michael Glad and others
....
--
Fabien Tassin -+- fta at sofaraway.org
More information about the inn-workers
mailing list