How to find which libraries a program requires?

To find out which shared libraries a program requires, type

    ldd `which _program_`

    (make sure you use the back single quote `, not the apostrophe, ')

    The which command just gives the full path for a given _program_
    ldd lists library dependencies.

0 comments:

Post a Comment