Skip to content

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 pres…