#1121139 collectd-core: Missing libgcrypt20 dependency when using network plugin with trixie

Package:
collectd-core
Source:
collectd-core
Description:
statistics collection and monitoring daemon (core system)
Submitter:
Christophe BOYANIQUE
Date:
2025-11-21 17:41:01 UTC
Severity:
normal
#1121139#5
Date:
2025-11-21 17:32:49 UTC
From:
To:
On a fresh trixie install (lxc container via Proxmox VE) after
installed collectd package and configured the network plugin, collectd
fails to start:

2025-11-21T17:54:22.248481+01:00 xxxxxxx collectd[10053]: ERROR:
  dlopen("/usr/lib/collectd/network.so") failed: lib gcrypt.so.20:
  cannot open shared object file: No such file or directory. The most
  common cause for this problem is missing dependencies. Use ldd(1) to
  check the dependencies of the plugin / shared object.
2025-11-21T17:54:22.248693+01:00 xxxxxxx collectd[10053]: plugin_load:
  Load plugin "network" failed with status 2.

# ldd /usr/lib/collectd/network.so
         linux-vdso.so.1 (0x00007ffd1ffca000)
         libgcrypt.so.20 => not found
         libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007411ccb25000)
         /lib64/ld-linux-x86-64.so.2 (0x00007411ccd2f000)

Installing libgcrypt20 package resolves the problem:

2025-11-21T18:09:24.005183+01:00 xxxxxxx collectd[10721]: plugin_load:
  plugin "network" successfully loaded.

Thanks.