I have a C ++ program that depends on quite a few libraries (some common system libraries, such as libjpeg, some personal libraries that are not installed on the system). The program compiles well on machine A (Squeeze Debian). I would like to run the program on machine B (Ubuntu maveric) and machine C (Arch). Assume that both B + C machines are extremely minimal settings. Do not expect to find ANY libraries that my program uses there, and if they are, they are not the same version.
Is there any program that can scan my program for ALL dependencies (using ldd or something else), collect all these dependencies and generate a script that tells the binary to use these and only these libraries that it uses on any another system?
Thanks!
source share