Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package ‘libcjson’, required by ‘virtual: world’, not found #515

Closed
bleeuwen-dev opened this issue Aug 16, 2024 · 4 comments · Fixed by #547
Closed

Package ‘libcjson’, required by ‘virtual: world’, not found #515

bleeuwen-dev opened this issue Aug 16, 2024 · 4 comments · Fixed by #547
Labels
bug Something isn't working

Comments

@bleeuwen-dev
Copy link

bleeuwen-dev commented Aug 16, 2024

During the buld of the gvmd i got the following error Package ‘libcjson’, required by ‘virtual: world’, not found

– Checking for module ‘libcjson>=1.7.14’
– Package ‘libcjson’, required by ‘virtual:world’, not found
CMake Error at /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
src/CMakeLists.txt:29 (pkg_check_modules)

Installation is done on Debian 12 (debian-12.6.0-amd64)

@bleeuwen-dev bleeuwen-dev added the bug Something isn't working label Aug 16, 2024
@y0urself y0urself transferred this issue from greenbone/docs Sep 27, 2024
@cfi-gb
Copy link
Member

cfi-gb commented Sep 27, 2024

@y0urself This probably needs to be moved back to the docs repository, unless i had missed something this seems to be not an issue in the gvmd component as the prerequisite is already documented here:

cJSON >= 1.7.14 (Debian package: libcjson-dev)

https://github.com/greenbone/gvmd/blob/main/INSTALL.md#prerequisites-for-greenbone-vulnerability-manager

Only the community docs are missing this package here:

https://github.com/greenbone/docs/blob/main/src/22.4/source-build/gvmd/dependencies.md

@y0urself y0urself transferred this issue from greenbone/gvmd Sep 27, 2024
@cfi-gb
Copy link
Member

cfi-gb commented Sep 27, 2024

Some short refs:

@joshhcd
Copy link

joshhcd commented Feb 12, 2025

Hi, the libcjson-dev package was added to the gvmd dependencies list, but should also (or maybe be moved) be added to the gvm-libs dependencies list.

https://github.com/greenbone/gvm-libs/blob/0982cb8fd541970cecdfd484243b2a259be902d1/INSTALL.md?plain=1#L20

Image

@bjoernricks
Copy link
Contributor

Thanks for catching that! Not sure why i missed that. Will be fixed with #552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants