Which libc is that?

| | Comments (1)
For Linux, it can be fun to figure out which libc version your apps are bound to.  After a bit of digging, I found that you can actually run the libc.so as a *binary* - which outputs its own version info.  This will work on all the linuxes, without resorting to asking a package management tool:

 ldd /bin/sh |grep libc.so | awk '{print $3}' | sh

Categories

1 Comments

wayne said:

sees this will fail on Ubuntu.

Leave a comment


About this Entry

This page contains a single entry by Jason Fesler published on September 6, 2007 11:38 AM.

Password scanning, countermeasures was the previous entry in this blog.

megaraid and 4h performance problems is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.0