Suppose I have an executable binary (but not its source code)
which requires linking with one or more shared libraries at run time.
Is there a hack whereby I can merge the binary with the required
shared libraries and create a statically linked executable?
The reason for the asking is that I want to transport a program
from one Linux machine to another, where the target machine is
missing some of the required run time shared libraries and I don't
want to install the missing libraries there.
Weird question, I know, but it seems that it shouldn't be impossible.
--