OS Manuals

/usr/bin/dpkg-shlibdeps

headers for dpkg

From dpkg-dev 1.23.11-r3 (os), captured 2026-11-05 by running dpkg-shlibdeps --help (exit 0). permalink

Usage: dpkg-shlibdeps [<option>...] [-e]<executable> [<option>...]

Positional options (order is significant):
  <executable>
          Include dependencies for <executable>.
  -e<executable>
          Alias for <executable> when it starts with '-'.
  -d<dependency-field>
          Next executables set shlibs:<dependency-field>.

Options:
      --package=<package>
          Generate substitution variables for <package>.
  -t<type>
          Set package type.
          [default: deb]
  -p<varname-prefix>
          Set <varname-prefix>:*.
          [default: shlibs:*]
  -x<package>
          Exclude package from the generated dependencies.
  -S<package-build-dir>
          Search needed libraries in the given package build directory first.
  -I<package-build-dir>
          Ignore needed libraries, shlibs and symbols files in the given build
          directory.
  -l<library-dir>
          Add directory to private shared library search list.
  -L<local-shlibs-file>
          Specify shlibs override file to use.
          [default: debian/shlibs.local]
  -T<substvars-file>
          Update substitution variables from this file.
          [default: debian/substvars]
  -O[<file>]
          Write variable settings to stdout (or <file>).
      --ignore-missing-info
          Do not fail on missing dependency information.
      --warnings=<value>
          Define set of active warnings (see manual page).
  -v
          Enable verbose mode; can be used multiple times.
      --admindir=<directory>
          Change the administrative directory.
  -?, --help
          Show this help message.
      --version
          Show the version.

Dependency fields recognized are:
  Suggests/Recommends/Depends/Pre-Depends
Options (28)
OptionDescriptionSource
-e executableAlias for <executable> when it starts with '-'.help
-d dependency-fieldNext executables set shlibs:<dependency-field>.help
--package packageGenerate substitution variables for <package>.help + man
-t typeSet package type.help
-p varname-prefixSet <varname-prefix>:*.help
-x packageExclude package from the generated dependencies.help
-S package-build-dirSearch needed libraries in the given package build directory first.help
-I package-build-dirIgnore needed libraries, shlibs and symbols files in the given build directory.help
-l library-dirAdd directory to private shared library search list.help
-L local-shlibs-fileSpecify shlibs override file to use.help
-T substvars-fileUpdate substitution variables from this file.help
-O fileWrite variable settings to stdout (or <file>).help
--ignore-missing-infoDo not fail if dependency information can't be found for a shared library.help + man
--warnings valueDefine set of active warnings (see manual page).help
-vEnable verbose mode;help + man
--admindir directoryChange the location of the dpkg database.help + man
-?, --helpShow the usage message and exit.help + man
--versionShow the version and exit.help + man
-eexecutableInclude dependencies appropriate for the shared libraries required by executable. (in the manual page but not in --help)man
-ldirectoryPrepend directory to the list of directories to search for private shared libraries. (in the manual page but not in --help)man
-ddependency-fieldAdd dependencies to be added to the control file dependency field dependency-field. (in the manual page but not in --help)man
-pvarname-prefixStart substitution variables with varname-prefix: instead of shlibs:. (in the manual page but not in --help)man
-ttypePrefer shared library dependency information tagged for the given package type. (in the manual page but not in --help)man
-Llocal-shlibs-fileRead overriding shared library dependency information from local-shlibs-file instead of debian/shlibs.local. (in the manual page but not in --help)man
-Tsubstvars-fileWrite substitution variables in substvars-file; (in the manual page but not in --help)man
-xpackageExclude the package from the generated dependencies. (in the manual page but not in --help)man
-Spackage-build-dirLook into package-build-dir first when trying to find a library. (in the manual page but not in --help)man
-Ipackage-build-dirIgnore package-build-dir when looking for shlibs, symbols, and shared library files. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.