* btb [16. May 2013]:
> on to the next piece :)
> 
> i'm having trouble building gsa from revision 16369 [on ubuntu 13.04]:
> 
> ...
> 
> Linking C executable gsad
> /usr/bin/ld: CMakeFiles/gsad.dir/gsad.c.o: undefined reference to symbol 
> 'gcry_check_version@@GCRYPT_1.2'
> /usr/bin/ld: note: 'gcry_check_version@@GCRYPT_1.2' is defined in DSO 
> /lib/x86_64-linux-gnu/libgcrypt.so.11 so try adding it to the linker command 
> line
> /lib/x86_64-linux-gnu/libgcrypt.so.11: could not read symbols: Invalid 
> operation
> collect2: error: ld returned 1 exit status
> make[2]: *** [src/gsad] Error 1
> make[1]: *** [src/CMakeFiles/gsad.dir/all] Error 2
> make: *** [all] Error 2

I saw that too on 13.04 with 64 bit. I think libgcrypt needs to be
linked explicitly now. We will add this to the CMake files soon, in the
mean time you can work around this by adding " -lgcrypt" to the
"target_link_libraries (gsad_base ..." command in src/CMakeLists.txt.

Regards,


Michael

-- 
Michael Wiegand |  Greenbone Networks GmbH  |  http://www.greenbone.net/
Neuer Graben 17, 49074 Osnabrück, Germany | AG Osnabrück, HR B 202460
Executive Directors: Lukas Grunwald, Dr. Jan-Oliver Wagner

_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to