Skip to content

Ubuntu 20.04 libssl1.0-dev not found, now the package is libssl-dev #4918

@drkpkg

Description

@drkpkg

Ubuntu 20.04 rename libssl1.0-dev to libssl now.

requirements_ubuntu_define_libssl()
{
  # Legacy libssl-dev required by older version of ruby has been renamed to libssl1.0-dev
  # starting from Ubuntu 17.10 (Artful Aardvark)

  case "$1" in
    (ruby-2.3*|ruby-2.2*|ruby-2.1*|ruby-2.0*|ruby-1.9*|ruby-1.8*)
      if
        __rvm_version_compare ${_system_version} -ge 17.10
      then
        undesired_check libssl-dev
        requirements_check libssl-dev
      else
        requirements_check libssl-dev
      fi
      ;;

    (*)
      requirements_check libssl-dev
      ;;
  esac
}

If anyone has the same problem the patch inside ~/.rvm/scripts/functions/requirements/[debian, ubuntu] is this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions