[Openvas-devel] openvas-scanner/libssh on Ubuntu 12.04

Christian Kuersteiner ckuerste at gmx.ch
Wed Jun 6 19:20:15 CEST 2012


Hello,

Don't know if others still have some problems compiling openvas-scanner 
on Ubuntu 12.04 cause of libssh (undefined reference errors).

I got it compiling by adding libssh explicitly to the CMakeLists.txt:

execute_process (COMMAND pkg-config --cflags libssh
   OUTPUT_VARIABLE GNUTLS_CFLAGS
   OUTPUT_STRIP_TRAILING_WHITESPACE)
execute_process (COMMAND pkg-config --libs libssh
   OUTPUT_VARIABLE GNUTLS_LDFLAGS
   OUTPUT_STRIP_TRAILING_WHITESPACE)

Didn't really had the time yet to fully verify this but at least I can 
compile it now. Let me know if this solves the problem for others too or 
if it actually causes some more of them ;)

Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openvas-scanner-CMakeLists.txt.patch
Type: text/x-patch
Size: 564 bytes
Desc: not available
URL: <http://lists.wald.intevation.org/pipermail/openvas-devel/attachments/20120607/46661123/attachment.bin>


More information about the Openvas-devel mailing list