try following echo "/path-to-openvas/library" > /etc/ld.so.conf.d/openvas.conf and running ldconfig after that
and also try running following command before compiling export PKG_CONFIG_PATH=/your/location/openvas-lib/pkgconfig:$PKG_CONFIG_PATH works for me. Eero 2015-04-14 9:30 GMT+03:00 Cristian Iconaru <[email protected]>: > Hi, > > > > I’m running into this when I run cmake for the scanner. > > It seems that it doesn’t find the libraries which I’ve already installed > in /usr/local/lib64. > > > > [root@localhost build]# cmake .. > > -- Configuring the Scanner... > > -- The C compiler identification is GNU 4.8.3 > > -- Check for working C compiler: /usr/bin/cc > > -- Check for working C compiler: /usr/bin/cc -- works > > -- Detecting C compiler ABI info > > -- Detecting C compiler ABI info - done > > -- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") > > -- Install prefix: /usr/local > > -- checking for module 'libopenvas_nasl>=8.0.0' > > -- package 'libopenvas_nasl>=8.0.0' not found > > CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message): > > A required package was not found > > Call Stack (most recent call first): > > /usr/share/cmake/Modules/FindPkgConfig.cmake:333 > (_pkg_check_modules_internal) > > CMakeLists.txt:187 (pkg_check_modules) > > > > > > -- checking for module 'libopenvas_base>=8.0.0' > > -- package 'libopenvas_base>=8.0.0' not found > > CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message): > > A required package was not found > > Call Stack (most recent call first): > > /usr/share/cmake/Modules/FindPkgConfig.cmake:333 > (_pkg_check_modules_internal) > > CMakeLists.txt:188 (pkg_check_modules) > > > > > > -- checking for module 'libopenvas_misc>=8.0.0' > > -- package 'libopenvas_misc>=8.0.0' not found > > CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message): > > A required package was not found > > Call Stack (most recent call first): > > /usr/share/cmake/Modules/FindPkgConfig.cmake:333 > (_pkg_check_modules_internal) > > CMakeLists.txt:189 (pkg_check_modules) > > > > > > -- checking for module 'libopenvas_omp>=8.0.0' > > -- package 'libopenvas_omp>=8.0.0' not found > > CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message): > > A required package was not found > > Call Stack (most recent call first): > > /usr/share/cmake/Modules/FindPkgConfig.cmake:333 > (_pkg_check_modules_internal) > > CMakeLists.txt:190 (pkg_check_modules) > > > > > > -- checking for module 'glib-2.0>=2.16' > > -- found glib-2.0, version 2.40.0 > > -- Looking for libgcrypt... > > -- Looking for libgcrypt... /usr/lib64/libgcrypt.so > > -- Found Doxygen: /usr/bin/doxygen (found version "1.8.5") > > -- Configuring incomplete, errors occurred! > > > > Thanks. > > Best regards > > Cristian Iconaru > just network services gmbh klausenburger str. 9 81677 münchen fon +49 > 89 16785623 fax +49 89 16785675 www.junese.de geht nicht gibt's nicht! > registergericht: münchen HRB 12 41 39, Steuernummer 829/29256, UstID > DE199333706, geschäftsführer: Oliver Prebeck, Martin Baumgartner > > Der Inhalt dieser E-Mail ist ausschließlich für den bezeichneten > Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail > oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form > der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des > Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall > mit dem Absender der E-Mail in Verbindung zu setzen. > The information contained in this email is intended solely for the > addressee. Access to this email by anyone else is unauthorized. If you are > not the intended recipient, any form of disclosure, reproduction, > distribution or any action taken or refrained from in reliance on it, is > prohibited and may be unlawful. Please notify the sender immediately. > > _______________________________________________ > Openvas-discuss mailing list > [email protected] > https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss >
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
