I ran truss command on executable and get the below output:
stat64(“/net/xyzmachine/vol/tools/solx64/studio11/SUNWspro/lib/rw7/librt.so.1”, 0x080474A0) (sleeping…)
stat64(“/net/xyzmachine/vol/tools/solx64/studio11/SUNWspro/lib/rw7/librt.so.1”, 0x080474A0) Err#2 ENOENT
stat64(“/net/xyzmachine/vol/tools/solx64/studio11/SUNWspro/lib/librt.so.1”, 0x080474A0) (sleeping…)
I went through the build logs and Envs of buildhost but the LD_LIB_PATH, LIBPATH, LD_RUN_PATH value is not pointing to this location. I am not able to get that from where this value came?
Can any one help me in understanding this? how the lib search path decided? How to troubleshoot the same?
Thank you guys for your help. I found the issue. some one has removed /opt/studio11 directory and make a link to /net/xyzmachine/vol/tools/solx64/studio11. so during compilation it is showing me as /opt/studio11/…. but in map file it is keeping “net/xyzmachine/vol/tools/solx64/studio11” value.
Thanks once again for your help.