Probably everyone has had at least once problems with AIX and run-time linking. For example if a program aborts with the following error when called:
$ progXY exec(): 0509-036 Cannot load program progXY because of the following errors: 0509-150 Dependent module libXXX.a(shr.o) could not be loaded. 0509-022 Cannot load module libXXX.a(shr.o). 0509-026 System error: A file or directory in the path name does not exist. $
In our article AIX and Run-Time Linking, we explain the processes involved in run-time linking and possible errors. We show how to examine executable programs and libraries with the dump command. The meaning of the variables LIBPATH and LD_LIBRARY_PATH for dynamic linking is also explained.