I get this error at the very end of the build: [ 90%] Built target ovas-mngr-comm Linking C executable openvasmd /usr/bin/ld: libmanage.a(lsc_crypt.c.o): undefined reference to symbol 'gpg_strerror' /usr/bin/ld: note: 'gpg_strerror' is defined in DSO /lib64/libgpg-error.so.0 so try adding it to the linker command line /lib64/libgpg-error.so.0: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status make[2]: *** [src/openvasmd] Error 1 make[1]: *** [src/CMakeFiles/openvasmd.dir/all] Error 2 make: *** [all] Error 2
Adding "-lgpg-error" to the end of the command in src/CMakeFiles/openvasmd.dir/link.txt resolves the problem for me and the build finishes correctly. Not sure if this is portable to other distros or can be detected and adjusted during the cmake step. _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
