-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
The GitHub Action automation is failing to build the binary due to missing dependencies. After adding reqwest on #74, the project now requires an OpenSSL installation. This is required by the openssl-sys crate, required by reqwest.
Here you can see the error: https://github.com/vmware-labs/wasm-workers-server/actions/runs/4014946928/jobs/6896087632
run pkg_config fail: "pkg-config has not been configured to support cross-compilation.\n\nInstall a sysroot for the target platform and configure it via\nPKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a\ncross-compiling wrapper for pkg-config and set it via\nPKG_CONFIG environment variable."
--- stderr
thread 'main' panicked at '
Could not find directory of OpenSSL installation, and this `-sys` crate cannot
proceed without this knowledge. If OpenSSL is installed and this crate had
trouble finding it, you can set the `OPENSSL_DIR` environment variable for the
compilation process.
Make sure you also have the development packages of openssl installed.
For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.
If you're in a situation where you think the directory *should* be found
automatically, please open a bug at https://github.com/sfackler/rust-openssl
and include information about your system as well as this message.
In their documentation, they provide certain commands to install the required dependencies. I will reuse this information and test the build process works properly.
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working