Is there a command on Linux similiar to dump -H or chatr for other UNIX flavors?

Posted on 2006-03-29
Last Modified: 2013-12-16
Is there a command on Linux similiar to dump -H or chatr for other UNIX flavors? I need to see where and what shared library files are linked to a specific  '.so' file in Linux.

Like the example from HP-UX below......   can anyone tell me a similiar command? The part I need is the ***Import File Strings*** showing the location of linked / required files.  (except in Linux). Ultimately our application gets an error working with Oracle 10g on the same box even though it appears to be configured properly: failed to create OCI environment.

Any help would be appreciated.


dump -H
                        ***Loader Section***
                      Loader Header Information
VERSION#         #SYMtableENT     #RELOCent        LENidSTR
0x00000001       0x0000008c       0x00000272       0x00000031
#IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
0x00000003       0x00002a98       0x000006ec       0x00002ac9
                        ***Import File Strings***
INDEX  PATH                          BASE                MEMBER
0      /usr/lib:/lib
1                                    libc.a              shr.o
2                                    libclntsh.a         shr.o

Question by:myfalcon
    LVL 9

    Accepted Solution

    Have you tried ldd?
    LVL 43

    Expert Comment

    objdump -x
    nm -a
    and also: ldd

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
    It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now