kanidm / webauthn-rs

An implementation of webauthn components for Rustlang servers
Mozilla Public License 2.0
488 stars 80 forks source link

`libssl.so.1.1` no such file or directory #422

Closed smndtrl closed 6 months ago

smndtrl commented 6 months ago

I did this

Added webauthn-rs to Cargo.toml via webauthn-rs = { git = "https://github.com/kanidm/webauthn-rs" }

I expected the following

compiles

What actually happened

error: failed to run custom build command for `webauthn-attestation-ca v0.1.0 (https://github.com/kanidm/webauthn-rs#9f1d995b)`

Caused by:
  process didn't exit successfully: `/workspaces/product/target/debug/build/webauthn-attestation-ca-3737872a62698b43/build-script-build` (exit status: 127)
  --- stderr
  /workspaces/product/target/debug/build/webauthn-attestation-ca-3737872a62698b43/build-script-build: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Version (and git commit)

9f1d995b

Operating System / Version

deb 12

Any other comments

$ apt info libssl-dev
Package: libssl-dev
Version: 3.0.11-1~deb12u2
Status: install ok installed
Priority: optional
Section: libdevel
Source: openssl
Maintainer: Debian OpenSSL Team <pkg-openssl-devel@alioth-lists.debian.net>
Installed-Size: 12.8 MB
Depends: libssl3 (= 3.0.11-1~deb12u2)
Firstyear commented 6 months ago

This isn't a bug in our library, it's environmental. You are likely missing something on your system required for this to work. You need to check the upstream docs https://docs.rs/openssl/latest/openssl/