Skip to content

Windows build fails because openssl-sys requires Perl, but this dependency is not documented #98

Description

@Nevionn

Environment

  • OS: Windows
  • Rust (MSVC toolchain)
  • Node.js + pnpm

Problem

A clean build on Windows fails because openssl-sys attempts to build OpenSSL from source, but perl is not installed.

The build stops with the following error:

Error configuring OpenSSL build:
Command 'perl' not found. Is perl installed?

Dependency chain:

ssh2
└── libssh2-sys
    └── openssl-sys

Expected behavior

The README/build instructions should mention that Perl (e.g. Strawberry Perl) is required on Windows, or provide an alternative way to use a preinstalled OpenSSL.

Without Perl, a fresh clone cannot be built successfully, and the current documentation does not mention this prerequisite.

Could you please update the Windows build instructions to include this requirement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions