On 12/10/2015 03:55 PM, Mathieu Malaterre wrote: > Is there a way to test that for sure. A naive solution like: > > $ LD_PRELOAD=$HOME/libc.so.6 ./mycode > > results in > > relocation error: /home/mathieu/libc.so.6: symbol _dl_starting_up, > version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with > link time reference You can use something like this: mkdir tmpdir cd tmpdir wget https://dl.fedoraproject.org/pub/fedora/linux/releases/23/Everything/x86_64/os/Packages/g/glibc-2.22-3.fc23.x86_64.rpm rpm2cpio glibc-2.22-3.fc23.x86_64.rpm | cpio -i --make lib64/ld-linux-x86-64.so.2 --library-path lib64 ~/mycode Note that this only works if you use a newer glibc to run older code. Florian