endgameinc / xori

Xori is an automation-ready disassembly and static analysis library for PE32, 32+ and shellcode

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xori currently will not build on modern Linux distros

mikemadden42 opened this issue · comments

On modern Linux distros (Ubuntu 18.04, 19.10) that ship with openssl 1.1.x, cargo build produces this error:

error: failed to run custom build command for `openssl v0.9.24`

Caused by:
  process didn't exit successfully: `/home/hulk/rust/xori/target/release/build/openssl-62f9983eb3104bc7/build-script-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'Unable to detect OpenSSL version', /home/hulk/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.9.24/build.rs:16:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

warning: build failed, waiting for other jobs to finish...
error: build failed

I'm pretty sure this is related to the version of the reqwestcrate we're currently using.

$ grep reqwest Cargo.toml
reqwest = "0.8.5"

I do not see these openssl build issues on macos 10.15.3 or Windows Server 2019. I suspect reqwest does not rely on openssl on macos or Windows.