Embodiments of the present disclosure provide a
data processing method and related apparatuses. Execution information of a first shared
library called by a program is loaded by a device based on a merged shared
library (MSL) and in response to an instruction for executing a program, where the MSL includes execution information of each of multiple shared libraries, the multiple shared libraries include the first shared
library, and at least two of the multiple shared libraries have a dependency therebetween. In this way, the execution information of the first shared library is loaded based on the MSL obtained by merging the multiple shared libraries, since the MSL records execution information of all the multiple shared libraries, so for any two of them which have a dependency therebetween, they can be loaded simply based on the MSL, so the use of the MSL would facilitate the loading process, in this way, PLT(Procedure Linkage Table) / GOT(Global Offset Table) can be eliminated by calls in the MSL and the memory consumption can be reduced, and only the requested part (that is, part related to the first shared library) in the MSL is loaded, so as to further reduce the memory consumption and improve the loading efficiency; in addition, there is no need to change the program (user side), so as to allow the MSL solution to be applied to the existing program (which is also referred to as processes / application mentioned below) without rebuilding it and get benefits without any additional
workload related to the program.