orhun / flawz

A Terminal UI for browsing security vulnerabilities (CVEs)
Apache License 2.0
326 stars 8 forks source link

Failed to install flawz with cargo #13

Open kylak opened 1 month ago

kylak commented 1 month ago

bug when trying to install flawz (with cargo)

error: linking with cc failed: exit status: 1 = note: /usr/bin/ld: cannot find -lsqlite3: No such file or directory collect2: error: ld returned 1 exit status

To reproduce

  1. cargo install flawz

Expected behavior

Screenshots / Logs

Software information

Additional context

orhun commented 1 month ago

Hey, thanks for reporting this! 🐻

Can you try installing libsqlite3-dev via apt install libsqlite3-dev and trying the same cargo install command again? I think the nvd_cve crate depends on sqlite and that's why it's failing.

anisse commented 1 month ago

Hi, I hit the same thing, and while I knew what to install, the README did not document it as a requirement. Do you think it would make sense to change this issue in a doc update issue?

orhun commented 1 month ago

Good idea! Are you possibly interested in submitting a PR? 👀

anisse commented 1 month ago

I'm not interested, but it would make a great first issue for new contributors!