---
name: "dh_sodeps"
section: "1"
platform: "linux"
package: "pkg-kde-tools"
version: "0.18.12"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/dh_sodeps"
---

# dh\_sodeps(1)

generate library dependencies for development \*.so symlinks

## NAME

dh\_sodeps - generate library dependencies for development \*.so symlinks

## SYNOPSIS

**dh\_sodeps** \[*debhelper options*\] \[**-V***versioninfo*\]

## DESCRIPTION

dh\_sodeps is a helper program that generates library dependencies for \*.so symlinks that are typically found in the library development packages.

It basically looks for *usr/lib/\*.so* in the package build directory, finds all local arch specific packages that actually contain targets of those symlinks and adds dependencies on the discovered packages to the `"so:Depends"` substitution variable. Dependencies are strict by default, i.e. (=${binary:Version}) if the package containing \*.so is arch specific or (\>=${source:Version}) if it is arch independent.

## OPTIONS

- **-V***versioninfo*, **--version-info**=*versioninfo*

  Use the specified version information for dependencies. If this option is not specified, dh\_sodeps will generate a strict dependency as explained above. Please note that you don't need to enclose the value in brackets. dh\_sodeps will do this automatically.

- **-X***item*, **--exclude** *item*

  Do not calculate dependencies for \*.so files that contain "item" anywhere in their path/filename. You may use this option multiple times to build up a list of things to exclude.

## SEE ALSO

[**debhelper**(7)](/debhelper/7.md)

## AUTHOR

Modestas Vainius \<modax@debian.org\>
