lapce fails to build with OpenSSL 4.0
Author: loqsCreated Jul 24, 2026Updated Jul 24, 2026
LabelsC-bug
Lapce Version
Lapce HEAD https://github.com/lapce/lapce/commit/c9e4c33948033f10f003991a037d949a708eedf8
System information
Arch Linux Rolling
Describe the bug
Lapce fails to build against OpenSSL 4.0.
Additional information
Steps to reproduce:
$ git clone https://github.com/lapce/lapce.git
$ cd lapce
$ OPENSSL_NO_VENDOR=true cargo build
....
--- stderr
thread 'main' (5544) panicked at /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-sys-0.9.111/build/main.rs:472:5:
This crate is only compatible with OpenSSL (version 1.0.2 through 1.1.1, or 3), or LibreSSL 3.5
through 4.2.x, but a different version of OpenSSL was found. The build is now aborting
due to this version mismatch.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...@alerque @pierres
Source: lapce/lapce