Originally posted by: SystemAdmin
Hello,
A program (binary) that usually works, and that has not undergone any changes, cannot load a dynamic library. I checked the LIBPATH but apparently it's OK.
Is there a standard command/tool such as ldd which would try and load the library related to my binary, and print an error if it cannot load one of them ?
truss -p <mybinary_pid> :
__loadx(0x01000080, 0x2FF1D930, 0x00003E80, 0x2FF218C0, 0x2FF22DFA, 0x00000000, 0x00000080, 0x7F7F7F7F) = 0x00000000
Could not load program kwrite(2, " C o u l d n o t l o".., 23) = 23
$HOME/communs/provisionning/bin/my_binary.xkwrite(2, " / u s r / u s e r s / r".., 58) = 58
:
kwrite(2, " :\n", 2) = 2
Dependent module kwrite(2, "\t D e p e n d e n t m".., 18) = 18
my_library.sokwrite(2, " l i b p r v p t . s o", 11) = 11
could not be loaded.
kwrite(2, " c o u l d n o t b".., 22) = 22
Could not load module kwrite(2, " C o u l d n o t l o".., 22) = 22
my_library.sokwrite(2, " l i b p r v p t . s o", 11) = 11
.
kwrite(2, " .\n", 2) = 2
Error waskwrite(2, " E r r o r w a s", 9) = 9
: kwrite(2, " : ", 2) = 2
No such file or directorykwrite(2, " N o s u c h f i l e".., 25) = 25
AIX5.1 ML05, binary compiled with Visual Age 5.0.2.9
#AIX-Forum