What loader is this library configured to use?
If a shared library or application is built:
using a GCC that had an overridden rpath and dynamic-linker hardcoded
and passed the -rpath flag and -dynamic-linker flags
you'll see the following information (64-bit example):
> readelf -l <application> | grep INTERP -A 2 INTERP 0x0000000000000238 0x0000000010000238 0x0000000010000238 0x0000000000000045 0x0000000000000045 R 1 [Requesting program interpreter: /lib64/ld64]
you'll see the following information (32-bit example):
> readelf -l <application> | grep INTERP -A 1 INTERP 0x113240 0x00113240 0x00113240 0x00013 0x00013 R 0x1 [Requesting program interpreter: /lib/ld-linux.so.2]