Bonjour,
j’ai commencé à me faire une VM OpenVAS.
J’ai compilé la première librairie sans problèmes tel que défini par Greenbones.
Quand je passe à la compilation suivante, il ne me trouve pas la librairie précédente
je ne trouve pas pourquoi il ne la trouve pas.
Pourtant:
sudo ldconfig -p | grep libgvm_base
libgvm_base.so.22 (libc6,x86-64) => /usr/local/lib/libgvm_base.so.22
libgvm_base.so (libc6,x86-64) => /usr/local/lib/libgvm_base.so
mais à chaque fois:
cmake $SOURCE_DIR/gvmd-$GVMD_VERSION -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DCMAKE_BUILD_TYPE=Release -DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc -DGVM_DATA_DIR=/var -DGVMD_RUN_DIR=/run/gvmd -DOPENVAS_DEFAULT_SOCKET=/run/ospd/ospd-openvas.sock -DGVM_FEED_LOCK_PATH=/var/lib/gvm/feed-update.lock -DSYSTEMD_SERVICE_DIR=/lib/systemd/system -DLOGROTATE_DIR=/etc/logrotate.d
-- Configuring Greenbone Vulnerability Manager...
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Install prefix: /usr/local
-- Checking for module 'libgvm_base>=22.4'
-- No package 'libgvm_base' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
src/CMakeLists.txt:29 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/zargos/build/gvmd/CMakeFiles/CMakeOutput.log".
See also "/home/zargos/build/gvmd/CMakeFiles/CMakeError.log".
zargos@vmssrvstd:~/build/gvmd$ vim CMakeCache.txt
zargos@vmssrvstd:~/build/gvmd$ cmake $SOURCE_DIR/gvmd-$GVMD_VERSION -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX -DCMAKE_BUILD_TYPE=Release -DLOCALSTATEDIR=/var -DSYSCONFDIR=/etc -DGVM_DATA_DIR=/var -DGVMD_RUN_DIR=/run/gvmd -DOPENVAS_DEFAULT_SOCKET=/run/ospd/ospd-openvas.sock -DGVM_FEED_LOCK_PATH=/var/lib/gvm/feed-update.lock -DSYSTEMD_SERVICE_DIR=/lib/systemd/system -DLOGROTATE_DIR=/etc/logrotate.d
-- Configuring Greenbone Vulnerability Manager...
-- Could NOT find Git (missing: GIT_EXECUTABLE)
-- Install prefix: /usr/local
-- Checking for module 'libgvm_base>=22.4'
-- No package 'libgvm_base' found
CMake Error at /usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
src/CMakeLists.txt:29 (pkg_check_modules)
-- Configuring incomplete, errors occurred!