Dear Christian:

I'm trying to install openvas library(5.0.1) from source on ubuntu
12.04(also tried other versions like 11.10, 11.04, etc), and I got similar
libssh undefined errors as well. Can you give me some hint how to apply
your patch to it? I installed libssh-4 and libssh-dev using apt-get, but
they don't solve the problem. Once again I have problem installing the
library not the scanner, I guess your method can apply similarly, but I
don't know how. Thanks.

cheers,
Shang

On Wed, Jun 6, 2012 at 1:20 PM, Christian Kuersteiner <ckuer...@gmx.ch>wrote:

> 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
>
> _______________________________________________
> Openvas-devel mailing list
> Openvas-devel@wald.intevation.org
> http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel
>
_______________________________________________
Openvas-devel mailing list
Openvas-devel@wald.intevation.org
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel

Reply via email to