Find DLL/SO of an Executable

On Linux


ldd – print shared library dependencies

$ cat hello.cpp
#include <iostream>
int main()
        std::cout << "Hello, world!" << std::endl;         return 0;
$ g++ -o hello hello.cpp $ ldd -v hello =>  (0x00007fffb0bfd000) => /usr/lib64/ (0x0000003964a00000) => /lib64/ (0x000000395e600000) => /lib64/ (0x0000003964200000) => /lib64/ (0x000000395e200000)
        /lib64/ (0x000000395de00000)

        Version information:
       (GLIBC_2.2.5) => /lib64/
       (CXXABI_1.3) => /usr/lib64/
       (GLIBCXX_3.4) => /usr/lib64/
       (GLIBC_2.3) => /lib64/
       (GCC_4.2.0) => /lib64/
       (GCC_3.3) => /lib64/
       (GCC_3.0) => /lib64/
       (GLIBC_2.3.2) => /lib64/
       (GLIBC_2.4) => /lib64/
       (GLIBC_2.3) => /lib64/
       (GLIBC_2.2.5) => /lib64/
       (GLIBC_2.2.5) => /lib64/
       (GLIBC_2.4) => /lib64/
       (GLIBC_2.2.5) => /lib64/
       (GLIBC_2.3) => /lib64/
       (GLIBC_PRIVATE) => /lib64/


locate – locate reads one or more databases prepared by updatedb(8) and writes file names matching at least one of the PATTERNs to standard output, one per line.

By default, locate does not check whether files found in database still exist; locate can never report files created after the most recent update of the relevant database.


Process Monitor

Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity.

  • More data captured for operation input and output parameters
  • Non-destructive filters allow you to set filters without losing data
  • Capture of thread stacks for each operation make it possible in many cases to identify the root cause of an operation
  • Reliable capture of process details, including image path, command line, user and session ID
  • Configurable and moveable columns for any event property
  • Filters can be set for any data field, including fields not configured as columns
  • Advanced logging architecture scales to tens of millions of captured events and gigabytes of log data
  • Process tree tool shows relationship of all processes referenced in a trace
  • Native log format preserves all data for loading in a different Process Monitor instance
  • Process tooltip for easy viewing of process image information
  • Detail tooltip allows convenient access to formatted data that doesn’t fit in the column
  • Cancellable search
  • Boot time logging of all operations