Re: how to detemine what version of glib on a system?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2002-12-12 at 16:15, Ahmed A wrote:

> What do you mean by check, how do I check them.

Uh they are defines... look in features.h.

You can do something like:

	#include <features.h>

	...

	printf("glibc: %d.%d\n", __GLIBC__, __GLIBC_MINOR__);

If you just want to know what version is installed on a particular
machine then just look in /lib:

	/lib/libc-2.3.1.so
	/lib/libc.so.6 -> libc-2.3.1.so

So I have glibc 2.3.1 installed.

	Robert Love



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux