Sample Header Ad - 728x90

Runtime library search order on AIX

1 vote
0 answers
200 views
If I understand correctly, the variables LIBPATH and LD_LIBRARY_PATH have a higher priority than the argument to the linker -blibpath. I'm looking for how to tell the loader to search for libraries along the paths prescribed during compilation (that is, -blibpath or some other). On linux, for example, there is -rpath, which has priority higher than variables. I'm looking for an analog on AIX. I'm also looking for where the priority of paths for finding libraries on AIX is clearly described.
Asked by ibse (371 rep)
Oct 13, 2023, 11:28 AM