Having issues finding libgvm_base

Build and install OpenVAS scanner;

cd …/…/openvas

Proceed to build and install openvas.

mkdir build cd build cmake … -DCMAKE_INSTALL_PREFIX=/opt/gvm make make install

– Configuring incomplete, errors occurred!
See also “/tmp/gvm-source/openvas/build/CMakeFiles/CMakeOutput.log”.
root@ip-172-31-77-156:/tmp/gvm-source/openvas/build# export PKG_CONFIG_PATH=/opt/gvmd/lib/pkgconfig
root@ip-172-31-77-156:/tmp/gvm-source/openvas/build# cmake … -DCMAKE_INSTALL_PREFIX=/opt/gvm
– Configuring the Scanner…
– Looking for clang-format…
– Looking for clang-format… /usr/bin/clang-format
Set LIBDIR to /opt/gvm/lib
– Install prefix: /opt/gvm
– Checking for module ‘libgvm_base>=11.0.0’
– No package ‘libgvm_base’ found
CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal)
misc/CMakeLists.txt:31 (pkg_check_modules)

– Configuring incomplete, errors occurred!
See also “/tmp/gvm-source/openvas/build/CMakeFiles/CMakeOutput.log”.

Your output says it all :wink: Just read it …
You need to install GVM Libs first:

1 Like

See Frequently Asked Questions (FAQ)

1 Like