how could i get version of a library

龙海涛 longhaitao@otsc.com.cn
Sat Jan 26 21:07:00 GMT 2008


On Thu, 2008-01-24 at 17:17 +0000, Timothy C Prince wrote:
> 
> -----Original Message-----
> From: =?UTF-8?Q?=E9=BE=99=E6=B5=B7=E6=B6=9B?= <longhaitao@otsc.com.cn>
> To: gcc-help <gcc-help@gcc.gnu.org>, libstdc++-help <libstdc++-help@gcc.gnu.org>
> Date: Wed, 23 Jan 2008 15:48:30 +0800
> Subject: how could i get version of a library
> 
> eg, glibc libstdc++
> 
> ps:I use fedora 6.
> _______________
> Do you mean
> rpm -qa glibc
> rpm -qa libstdc++
oh, 3x...
i thought the version number can be found through gcc...
it seems i paste a stupid question here...

BTW, why the version number appear twice when i use rpm -qa glibc?


[root@localhost ~]# rpm -qa glibc
glibc-2.5-3
glibc-2.5-3

> 
> or something else?
> Tim Prince



More information about the Gcc-help mailing list