[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 3

ldd Command

Purpose

Lists dynamic dependencies.

Syntax

ldd FileName

Description

The ldd command lists the path names of all dependencies. The command will report dependencies on only valid XCOFF files.

Parameters

FileName Specifies the file whose dependencies will be listed.

Exit Status

0
The command completed successfully.
>0
An error occurred.

Examples

  1. To display dependencies on /usr/bin/dbx, enter:
    ldd /usr/bin/dbx
    The output looks like the following:
    /usr/bin/dbx needs: 
            /usr/lib/libc.a(shr.o) 
            /usr/lib/libdbx.a(shr.o) 
            /unix 
            /usr/lib/libcrypt.a(shr.o) 
            /usr/lib/libpthdebug.a(shr.o)

Files

/usr/bin/ldd Contains the ldd command.

Related Information

The dump command.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]