If you compiled binary on your development system wich has newer OS with newer libc than on your target system, you can do old know trick with elf loader:
1. Copy ld-linux-x86-64.so.2 and whole /lib/x86_64-linux-gnu/ to home on target system
2. Launch executable like this:
ld-linux-x86-64.so.2 --library-path ~/x86_64-linux-gnu ~/my_program args
1. Copy ld-linux-x86-64.so.2 and whole /lib/x86_64-linux-gnu/ to home on target system
2. Launch executable like this:
ld-linux-x86-64.so.2 --library-path ~/x86_64-linux-gnu ~/my_program args
Thanks for the information. It was interesting to read.
ОтветитьУдалитьLinux course in Pune