servo: failed to compile: 'Unable to detect OpenSSL version'

I couldn’t get the latest master branch of Servo to compile. Apparently I have openssl 1.1.1 installed and it seems to be looking for 0.9.24 but for some reason can’t determine the version number. Here’s the error log:

error: failed to run custom build command for `openssl v0.9.24`
process didn't exit successfully: `/home/mandreyel/projects/servo/target/debug/build/openssl-9eb0a7ecfa0da8ba/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/mandreyel/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14

I don’t remember updating openssl recently (could compile Servo just fine a week back) but I could be wrong. I tried ./mach clean and installing the dependencies listed in the readme anew to no avail. The oldest openssl I can install via pacman on Arch is 1.0 and that doesn’t solve it either (haven’t tried manually installing 0.9.* yet). Any ideas?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 15 (12 by maintainers)

Most upvoted comments

@PjDev09 Which OS/Linux distribution/version are you using?

Issue is still here