I have not seen this error on Ubuntu 16.04, try adding the –fPIC to the build process. Find a cmake kind of file in your build directory, something like:
CMAKE_CXX_FLAGS:STRING and add the option. Thijs Stuurman Security Operations Center | KPN Internedservices thijs.stuur...@internedservices.nl<mailto:thijs.stuur...@internedservices.nl> | thijs.stuur...@kpn.com<mailto:thijs.stuur...@kpn.com> T: +31(0)299476185 | M: +31(0)624366778 PGP Key-ID: 0x16ADC048 (https://pgp.surfnet.nl/) Fingerprint: 2EDB 9B42 D6E8 7D4B 6E02 8BE5 6D46 8007 16AD C048 W: https://www.internedservices.nl<https://www.internedservices.nl/> | L: http://nl.linkedin.com/in/thijsstuurman Van: Openvas-discuss [mailto:openvas-discuss-boun...@wald.intevation.org] Namens Nikita Gupta Verzonden: vrijdag 19 mei 2017 11:22 Aan: openvas-discuss@wald.intevation.org Onderwerp: [Openvas-discuss] Problem with OpenVAS source code installation Hi All, I was trying to install the OpenVAS by downloading the souce code from http://www.openvas.org/install-source.html But While installing the libraries source package, it stops at make configuration step by giving error: /usr/bin/ld: /usr/local/lib/libgnutls.a(record.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libgnutls.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status misc/CMakeFiles/openvas_misc_shared.dir/build.make:537: recipe for target 'misc/libopenvas_misc.so.9.0.1' failed make[2]: *** [misc/libopenvas_misc.so.9.0.1] Error 1 CMakeFiles/Makefile2:245: recipe for target 'misc/CMakeFiles/openvas_misc_shared.dir/all' failed make[1]: *** [misc/CMakeFiles/openvas_misc_shared.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 Can anyone help me to fix this issue. I searched online also. But not of much help. -- Regards, Nikita Gupta
_______________________________________________ Openvas-discuss mailing list Openvas-discuss@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss