[phpa] Re: Determining version of glibc you have

  • From: xing <xing@xxxxxxx>
  • To: phpa@xxxxxxxxxxxxx
  • Date: Mon, 28 Jan 2002 14:42:27 -0800

on my redhat 7.1 I used:

 > rpm -qa | grep glibc

this should do the trick if you use the rpm package system

On Monday, January 28, 2002, at 01:59 PM, Nick Lindridge wrote:

>
>> 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
>
>

------------------------------------------------------------------------
  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: