Search code examples
ssldependenciesdebian

How can I add libcrypto dependencies in a Debian package


If my program depends on libcrypto.so.1.1, is it enough to specify libssl1.1 (> = 1.1.0) in debian/control?


Solution

  • As spelled out in the Debian policy, the package name also specifies the SONAME of the library. Thus it should be sufficient to have

    Depends: libssl1.1
    

    without an explicit version specifier. (Also, the space between > and = in your question looks like a syntax error to me.)

    Reference: 6.1 Run-time shared libraries