I had the same problem with libssh 0.5.2. The only workaround I could get working was to compile without libssh.
I only tried it on Ubuntu, haven't had the time to try it with debian yet.

Since OpenVAS 4 still works fine for us we will be staying with that version until the problems with OpenVAS 5 get sorted out.


On 6/12/2012 5:40 PM, OpenVAS Users List wrote:
I am trying to install OpenVAS from source. I am using the instructions 
provided with the source. The build platform is Ubuntu 12.04, running in a 
virtual machine.

I started with openvas-libraries. cmake runs and warns me about wmiclient, and 
ldap. Output of cmake states it has found ssh libs:

-- checking for module 'libssh>=0.4.5'
--   found libssh, version 0.5.2

When I "make" the command fails when trying to link the executable openvas-nasl.

I wonder if anyone on the list can provide suggestions to resolve this error.

Thanks,
John

...

Scanning dependencies of target openvas-nasl
[ 72%] Building C object nasl/CMakeFiles/openvas-nasl.dir/nasl.c.o
Linking C executable openvas-nasl
libopenvas_nasl.a(nasl_ssh.c.o): In function `nasl_ssh_exec':
/usr/src/OpenVAS/openvas-libraries-5.0.1/nasl/nasl_ssh.c:247: undefined 
reference to `ssh_new'
/usr/src/OpenVAS/openvas-libraries-5.0.1/nasl/nasl_ssh.c:249: undefined 
reference to `ssh_options_set'
/usr/src/OpenVAS/openvas-libraries-5.0.1/nasl/nasl_ssh.c:250: undefined 
reference to `ssh_options_set'

...

/usr/src/OpenVAS/openvas-libraries-5.0.1/nasl/nasl_ssh.c:495: undefined 
reference to `ssh_free'
/usr/src/OpenVAS/openvas-libraries-5.0.1/nasl/nasl_ssh.c:257: undefined 
reference to `ssh_free'
/usr/src/OpenVAS/openvas-libraries-5.0.1/nasl/nasl_ssh.c:328: undefined 
reference to `ssh_get_error'
collect2: ld returned 1 exit status
make[2]: *** [nasl/openvas-nasl] Error 1
make[1]: *** [nasl/CMakeFiles/openvas-nasl.dir/all] Error 2
make: *** [all] Error 2


_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to