[phpa] Re: Determining version of glibc you have

  • From: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
  • To: phpa@xxxxxxxxxxxxx
  • Date: Mon, 28 Jan 2002 21:59:18 -0000 (GMT)

> Just realized something, the reason I picked the one for glibc 2.1.3 is
>  because I have a directory on my server called /usr/doc/glibc-2.1.3
> but I  was wondering how I find out for sure if that's the exact
> version I have?

In my makefiles for my release procedure I run the following:

nm /lib/libc.so.6 | grep 'A GLIB' | tail -1 | sed 's/^.*GLIBC_\(.*\)/\1/'

to determine the glibc number. But there might be a simpler way!

  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe

Other related posts: