![]() So we now know that /lib64/libc.so.6 is being used and we just need to get it’s version: > /lib64/libc.so.6 -version ![]() The static library, so try that secondarily. Use the shared library, but some functions are only in You can also find the libc.so file used with the following command: > cat `gcc -print-file-name=libc.so` You first have to find which libc.so file is being used by a known program e.g. The second way is a little bit more difficult. Check the version of the used libc.so file.Check the version of the installed glibc rpm package.If you know you might have patched the system to use a different version of ldd and know that its version doesn’t match the glibc version, you have two additional ways to find out the glibc version: If you need to check which version of the GNU C library (glibc) is used on you Linux system, whether it’s to check whether you are affected by the GHOST vulnerability or you need to install a software requiring at least a certain version but not checking it on build/installation, the easiest way is to use ldd which comes with glibc and should in most cases have the same version: > ldd -version
0 Comments
Leave a Reply. |