Regarding settings when calling a subroutine created in the c language, I found the following knowledge:
It says that the subroutine directory should be specified in both PATH and LD_LIBRARY_PATH, but why is it necessary to specify it in both?
EZACT003 error occurred. (For calling a C subprogram dynamically from a Easytrieve program)
Environment : Linux
Release : R11.6
Easytrieve Linux uses PATH and EZTPATH environment variable in the compilation and linking stage.
The LD_LIBRARY_PATH is used by the loader to search for libraries when the program is executed.