I have an executable which pretty much only depends on libc. the output of ldd is:
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b53156b9000)
libutil.so.1 => /lib64/libutil.so.1 (0x00002b53158d5000)
librt.so.1 => /lib64/librt.so.1 (0x00002b5315ad8000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b5315ce2000)
libm.so.6 => /lib64/libm.so.6 (0x00002b5315ee6000)
libc.so.6 => /lib64/libc.so.6 (0x00002b5316169000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a06600000)
I've compiled this on and old CentOS 6. running /lib64/libc.so.6
says:
GNU C Library stable release version 2.5, by Roland McGrath et al.
...
How safe is it to run this executable on any other flavor of linux? Specifically, is it safe to run on Ubuntu and Debian machines which have eglibc
? The executable I compiled seem to be running fine on 12.04 LTS but can I trust this to not have subtle bugs and to also run on other versions of these distros?