The invention relates to the technical field of
software migration, in particular to a Linux
executable program migration method and device.The method comprises the steps that compatibility detection is conducted on
system calling of a target ELF file, and
gasket adaptation processing is conducted on incompatible
system calling; performing
dependency tree total analysis on the target ELF file, and identifying a dependency
library required by the operation of the target ELF file; extracting an actual calling symbol
list of each dependency
library, comparing the actual calling symbol
list with symbols of corresponding libraries on the target
system, and collecting incompatible dependency libraries of the original system to an isolation
directory; modifying a
library search path when the target ELF file runs, so as to preferentially load an original system dependency library in the isolation
directory; and finally, constructing a migration packet deployed to the target system, and carrying out adaptive migration
verification on the migration packet. Compatibility and operation stability of the program in the target system are improved, only the
software and the dependency library thereof are migrated, migration difficulty is reduced, and the migration process is accelerated.