{
    "mode": "man",
    "parameter": "deb-shlibs",
    "section": "5",
    "url": "https://www.chedong.com/phpMan.php/man/deb-shlibs/5/json",
    "generated": "2026-06-15T14:41:53Z",
    "synopsis": "debian/shlibs, debian/binary-name.shlibs, DEBIAN/shlibs",
    "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",
            "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), dpkg-shlibdeps(1), deb-symbols(5).\n\n\n\n1.21.1                                       2025-09-09                                deb-shlibs(5)",
            "subsections": []
        }
    },
    "summary": "deb-shlibs - Debian shared library information file",
    "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": "dpkg-shlibdeps",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dpkg-shlibdeps/1/json"
        },
        {
            "name": "deb-symbols",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/deb-symbols/5/json"
        }
    ]
}