V
V
Viktor Shcherbakov2021-07-06 18:10:01
ubuntu
Viktor Shcherbakov, 2021-07-06 18:10:01

Why does openvas give an error when installing?

Ubuntu 20.04, I put the vulnerability scanner, when installing openvas-smb, it gives an error:

[ 93%] Linking C executable winexe
/usr/bin/ld: cannot find -lunistring
/usr/bin/ld: cannot find -lunistring
collect2: error: ld returned 1 exit status
make[2]: *** [winexe/CMakeFiles/winexe.dir/build.make:140: winexe/winexe] Error 1
make[1]: *** [CMakeFiles/Makefile2:194: winexe/CMakeFiles/winexe.dir/all] Error 2
make: *** [Makefile:152: all] Error 2


I install like this:
cd openvas-smb &&\
export PKG_CONFIG_PATH=/opt/gvm/lib/pkgconfig:$PKG_CONFIG_PATH &&\
mkdir build &&\
cd build/ &&\
cmake -DCMAKE_INSTALL_PREFIX=/opt/gvm .. &&\
make &&\
make install &&\
cd /opt/gvm/src


installation fails at make step

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim, 2021-07-06
@VAShcherbakov

Install
libunistring-dev first

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question