Could not load library "/usr/lib64/libgvm-pg-server.so": /opt/atomicorp/atomic/root/usr/lib64/libgpgme.so.11

Trying to install GVM onto a centOS 7, when I try to start the gvmd service, I get this in the gvmd.log:

`md main:MESSAGE:2020-10-16 13h02.15 utc:23900: Greenbone Vulnerability Manager version 9.0.0 (DB revision 221)
md manage:WARNING:2020-10-16 13h02.15 utc:23900: sql_exec_internal: PQexec failed: ERROR: could not load library “/usr/lib64/libgvm-pg-server.so”: /opt/atomicorp/atomic/root/usr/lib64/libgpgme.so.11: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
(7)
md manage:WARNING:2020-10-16 13h02.15 utc:23900: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION hosts_contains (text, text) RETURNS boolean AS ‘/usr/lib64/libgvm-pg-server’, ‘sql_hosts_contains’ LANGUAGE C IMMUTABLE;

md manage:WARNING:2020-10-16 13h02.15 utc:23900: sqlv: sql_exec_internal failed`

GVM versions

gsad: (‘gsad --version’) - Greenbone Security Assistant 9.0

gvmd: (‘gvmd --version’) - Greenbone Vulnerability Manager 9.0.0
Manager DB revision 221

openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’) OpenVAS 7.0.0

gvm-libs:

Environment

Operating system: CentOS7
Kernel: (‘uname -a’) 3.10.0-1127.19.1.el7.x86_64
Installation method / source: installed gvm via atomic repo

That seems to be a packaging and dependency error, please reports this back to the package maintainer. This uncoordinated integration is not supported here.

1 Like

The repository to report this issue would be:

1 Like

any solution for that problem?

Please note that Greenbone isn’t involved or maintaining this 3rdparty packages so you need to raise an issue for the package maintainer like described in Could not load library "/usr/lib64/libgvm-pg-server.so": /opt/atomicorp/atomic/root/usr/lib64/libgpgme.so.11 to get a possible fix / solution.

4 Likes

A reference for the newly created issue, let’s see if the package maintainer can provide a solution for it:

1 Like

Please note GVM 9.0 is end of life, they should update to 20.08, that is the ONLY supported platform at the moment.

1 Like

Hello all,
I am writing here because I am facing the exact same issue as the OP. However I compiled all Greenbone components from github sources and using the latest release (v20.8.1) and my OS is RHEL 7.9 (see versions and environment details below), and postgresql version 13.

When trying to start the gvmd service, it fails with the following logs in gvmd.log:

md manage:WARNING:2021-03-05 16h37.06 utc:31759: sql_exec_internal: SQL: CREATE OR REPLACE FUNCTION hosts_contains (text, text) RETURNS boolean AS '/opt/gvm/lib/libgvm-pg-server', 'sql_hosts_contains' LANGUAGE C IMMUTABLE;
md manage:WARNING:2021-03-05 16h37.06 utc:31759: sqlv: sql_exec_internal failed
md   main:MESSAGE:2021-03-05 16h39.07 utc:31878:    Greenbone Vulnerability Manager version 20.08.1~git-cda1613-HEAD (GIT revision cda1613-HEAD) (DB revision 233)
md manage:WARNING:2021-03-05 16h39.07 utc:31879: sql_exec_internal: PQexec failed: ERROR:  could not load library "/opt/gvm/lib/libgvm-pg-server.so": /opt/gvm/lib/libgcrypt.so.20: symbol gpgrt_lock_lock, version GPG_ERROR_1.0 not defined in file libgpg-error.so.0 with link time reference
 (7)

I understand that Greenbone isn’t providing any guarantee that it will work on another distribution than Debian, but in my case installing on Debian is unfortunately not an option. Therefore if someone has an idea of what could be the problem, or at least an idea of something to look for, any help would be really appreciated !
I don’t know if it helps but for information, I am able to start the gsad service.

Thanks

GVM versions

gsad: (‘gsad --version’) - Greenbone Security Assistant 20.08.1~git-fc9e551-HEAD

gvmd: (‘gvmd --version’) - Greenbone Vulnerability Manager 20.08.1~git-cda1613-HEAD

openvas-scanner: (‘openvas --version’, in older GVM versions < 11: ‘openvassd --version’) OpenVAS 20.8.1

gvm-libs: gvm-libs 20.8.1~git-2712b4d-HEAD

Environment

Operating system: RHEL 7.9 (Maipo)
Kernel: (‘uname -a’) 3.10.0-1160.11.1.el7.x86_64
Installation method / source: compiled from sources (Greenbone official github repositories)