Skip to content
Advertisement

Tag: loader

How does the dynamic loader load libs with correct arch version

For the aarch64 based system, if I provide both arm and arm64 version of library libtest.so in different path, and added the paths into /etc/ld.so.conf. I want to know if a application depends on this library, how does the loader find out the correct version of libtest.so ? Basically since both paths are present in ld.so.cache, so does the loader

Is shared standard C library first initialized by kernel?

I’m trying to understand the operation of linker and loader, and memory addresses(physical or virtual) regarding how a program is actually compiled and executed. I encountered two pieces of information and formed my own version of comprehension. 1st information: W.5.1 SHARED OBJECTS In a typical system, a number of programs will be running. Each program relies on a number of

Advertisement