# phpman > man > deb-shlibs(5)

[deb-shlibs(5)](https://www.chedong.com/phpMan.php/man/deb-shlibs/5/markdown)                                dpkg suite                                [deb-shlibs(5)](https://www.chedong.com/phpMan.php/man/deb-shlibs/5/markdown)



## NAME
       deb-shlibs - Debian shared library information file

## SYNOPSIS
       **debian/shlibs**, **debian/**_binary-name_**.shlibs**, **DEBIAN/shlibs**

## DESCRIPTION
       **shlibs** files map shared library names and versions (_SONAMEs_) to dependencies suitable for a
       package control file.  There is one entry per line. Blank lines are **not** allowed.  Lines
       beginning with a **#** character are considered commentary, and are ignored.  All other lines
       must have the format:

           [_type_**:**] _library_ _version_ _dependencies_

       The _library_ and _version_ fields are whitespace-delimited, but the _dependencies_ field extends
       to the end of the line.  The _type_ field is optional and normally not needed.

       The _dependencies_ field has the same syntax as the **Depends** field in a binary control file, see
       [**deb-control**(5)](https://www.chedong.com/phpMan.php/man/deb-control/5/markdown).

## SONAME FORMATS
       The SONAME formats supported are:

           _name_.so._version_

       and

           _name_-_version_.so

       where _name_ is usually prefixed by **lib**.

## EXAMPLES
       The **shlibs** file for a typical library package, named _libcrunch1_, that provides one library
       whose SONAME is _libcrunch.so.1_, might read

        libcrunch 1 libcrunch1 (>= 1.2-1)

       The _dependencies_ must mention the most recent version of the package that added new symbols
       to the library: in the above example, new symbols were added to version 1.2 of _libcrunch_.
       This is not the only reason the dependencies might need to be tightened.

## SEE ALSO
       [**deb-control**(5)](https://www.chedong.com/phpMan.php/man/deb-control/5/markdown), [**dpkg-shlibdeps**(1)](https://www.chedong.com/phpMan.php/man/dpkg-shlibdeps/1/markdown), [**deb-symbols**(5)](https://www.chedong.com/phpMan.php/man/deb-symbols/5/markdown).



1.21.1                                       2025-09-09                                [deb-shlibs(5)](https://www.chedong.com/phpMan.php/man/deb-shlibs/5/markdown)
