{
    "content": [
        {
            "type": "text",
            "text": "# deb-shlibs (man)\n\n## NAME\n\ndeb-shlibs - Debian shared library information file\n\n## SYNOPSIS\n\ndebian/shlibs, debian/binary-name.shlibs, DEBIAN/shlibs\n\n## DESCRIPTION\n\nshlibs files map shared library names and versions (SONAMEs) to dependencies suitable for a\npackage control file.  There is one entry per line.  Blank lines are not allowed.  Lines\nbeginning with a # character are considered commentary, and are ignored.  All other lines\nmust have the format:\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SONAME FORMATS**\n- **EXAMPLES**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "deb-shlibs",
        "section": "",
        "mode": "man",
        "summary": "deb-shlibs - Debian shared library information file",
        "synopsis": "debian/shlibs, debian/binary-name.shlibs, DEBIAN/shlibs",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "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": [
            {
                "name": "deb-control",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/deb-control/5/json"
            },
            {
                "name": "deb-symbols",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/deb-symbols/5/json"
            },
            {
                "name": "dpkg-shlibdeps",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/dpkg-shlibdeps/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "SONAME FORMATS",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "deb-shlibs - Debian shared library information file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "debian/shlibs, debian/binary-name.shlibs, DEBIAN/shlibs\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "shlibs files map shared library names and versions (SONAMEs) to dependencies suitable for a\npackage control file.  There is one entry per line.  Blank lines are not allowed.  Lines\nbeginning with a # character are considered commentary, and are ignored.  All other lines\nmust have the format:\n\n[type:] library version dependencies\n\nThe library and version fields are whitespace-delimited, but the dependencies field extends\nto the end of the line.  The type field is optional and normally not needed.\n\nThe dependencies field has the same syntax as the Depends field in a binary control file, see\ndeb-control(5).\n",
                "subsections": []
            },
            "SONAME FORMATS": {
                "content": "The SONAME formats supported are:\n\nname.so.version\n\nand\n\nname-version.so\n\nwhere name is usually prefixed by lib.\n\nThe former tends to be used by shared libraries with stable interfaces.  The latter by shared\nlibraries with unstable interfaces, where the whole version becomes part of the SONAME and\nneeds to be specified in full when linking against those libraries.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "The shlibs file for a typical library package, named libcrunch1, that provides one library\nwhose SONAME is libcrunch.so.1, might read\n\nlibcrunch 1 libcrunch1 (>= 1.2-1)\n\nThe dependencies must mention the most recent version of the package that added new symbols\nto the library: in the above example, new symbols were added to version 1.2 of libcrunch.\nThis is not the only reason the dependencies might need to be tightened.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "deb-control(5), deb-symbols(5), dpkg-shlibdeps(1).\n\n1.22.6                                       2026-05-06                                deb-shlibs(5)",
                "subsections": []
            }
        }
    }
}