Comments (2)
@surajssd Apologies for delay, addressed in #157
from sevctl.
Normally built binary has dependency on the following system libs:
$ ldd target/release/sevctl
linux-vdso.so.1 (0x00007ffed59d1000)
libssl.so.3 => /lib/x86_64-linux-gnu/libssl.so.3 (0x00007f5d6d8c1000)
libcrypto.so.3 => /lib/x86_64-linux-gnu/libcrypto.so.3 (0x00007f5d6d47e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5d6d45e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5d6d236000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5d6dbea000)
To be able to do static build I had to also install the musl-tools
on top of the existing packages:
sudo apt install -y pkg-config libssl-dev asciidoctor musl-tools
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl
And using the changes in PR #112, I can now do static build:
$ ldd target/x86_64-unknown-linux-musl/release/sevctl
statically linked
from sevctl.
Related Issues (16)
- Write a man-page
- New subcommand: sevctl-attest (with initial support for QEMU)
- Create and Tag Releases of Minor Versions
- Add full flag to cert export command documentation HOT 2
- About Launch_blob format
- sevctl export fails with HTTP400 error HOT 4
- Improve Microcode Support Identification HOT 3
- SNP-related commands HOT 4
- Test: VM Page Flush MSR Change
- sevctl export: unable to create output file HOT 2
- Measurement parameters HOT 1
- Add build documentation HOT 1
- 'sevctl ok' and kernel reporting different status for BIOS SEV setup HOT 7
- How to export/extract different certs? HOT 1
- Not working on Standard DCads v5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sevctl.