Closed setop closed 2 years ago
krunvm needs to link against libkrun, which is a dynamic library. I'm aware that libkrun is packaged in Fedora Rawhide and OpenSUSE, but I don't know about other distros.
I've seen it's in rust but not available on crates.io. So I added its git repo to the cargo.toml file. It kinda works but then I have issue compiling librun : something about init binary that is not found. I have to work on it...
Even though is written in Rust, libkrun is a dynamic library and it's intended to be built using make
as indicated in documentation.
using
make
orcargo build --release
, I get an error/usr/bin/ld: cannot find -lkrun
.I don't get where dependency comes from : os (apt) or rust (cargo).
Any idea ?