Error while loading shared libraries

Hello

I am trying to install openvas 21.04 via this link https://www.libellux.com/openvas/#install-gvm-21-04-from-source

But when I try to create the user admin gvm I get the following error message /usr/local/sbin/gvmd --create-user=admin --password= a
/usr/local/sbin/gvmd: error while loading shared libraries: libgvm_base.so.21: cannot open shared object file: No such file or directory

but the libraries are present in :/usr/local/lib

can you help me please

Environment

Operating system:Ubuntu 20.04
Kernel:Linux openvas-2104 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Installation method / source: https://www.libellux.com/openvas/#install-gvm-21-04-from-source

Hello,

try to follow this https://greenbone.github.io/docs/gvm-21.04/index.html#

especially the part https://greenbone.github.io/docs/gvm-21.04/index.html#id92
gvm-libs

Seems to be a just PATH misconfiguration.

1 Like

Add /usr/local/lib/ to /etc/ld.so.conf.d/gvm.conf or run the ldconfig command. Will update my guide as I’m working on an update - I forgot this part. Hope you’ve resolved it.

2 Likes