UNIX Programming, Certification, System Administration, Performance Tuning Reference Books
How to find dynamic libs linked to progs

On Solaris, we have the ldd command, on HP-UX we have the chatr command.
Is there any equivalent command available on DEC OSF1 (Digital UNIX)?

OSF is a pain in terms of tools etc... though they are the innovators.  Though it is not as clean as those in Solaris(ldd) and HP (chtr). But it solves the purpose. For more information see loader(5)  and ld on DEC. Someone at Sybase needed this and
being DEC engineer my ass was on the line, either I had to write something equiv. to ldd or find a soln or workaround. And here is what I did to save my butt...

The trick lies in _RLD_ARGS. Set it to -v and you'll find the list of libs among few other general information. Put it in a shell script and pass the pgm name as arg to this and simply exec the program. 'lsof' will also give you the this information. Manny
would you happen to have the link for getting 'losf'?  You can also use -trace flag, -log_stdout and -stat to find other interesting information and to debug a problem (-trace coupled with -stat are sometimes better than the truss command, they tell you exact point of failure from user's point of view, if you have paitence to read the terse output)

Have fun.

You can also use <br> % odump -Dl -v file_name

This command is great. Somehow I had forgotten it and vaguely remembered the name as something similar to dump.

Quick Links:
Do you have a UNIX Question?

Unix Home: Unix System Administration Hints and Tips