I am trying to find a way to list the dynamic linked libraries (run -time) associated with an executable file. The command 'ldd' is suited to this, but only works for a 64-bit executable file and not a 32-bit executable file. I looked a the '/usr/ccs/bin/ldd ' and for all the machines, it seems to be hard linked to the '/usr/ccs/lbin/fastbind64'.everytime it gives the following error:
ldd /usr/sbin/sam
ldd: Invalid file type: "/usr/sbin/sam". 64-bit shared executable or shared library expected.
Please tell me how to see all the run-time linked libraries.
If You don't Know! Ask!!