During the installation (building) of the gvmd, i get an error.
– 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)
I can’t find packages with the name libcjson to install on debian? Anybody experienced this issue and know how i can fix this?
I would suggest to raise a new issue at Issues · greenbone/docs · GitHub for the case that the documentation doesn’t include all required dependencies.
I was stuck here as well but had success by adding libcjson-dev (on Debian 12.7, freshly installed).
So I guess the issue was taken care of but not to the extent of adding said library to the instructions. Perhaps this could be added?
There seems to be an open PR for this topic in the docs:
If in doubt about the dependency you can also always check the documentation of the component itself, e.g. for this case the dependency is also mentioned here: