Portál AbcLinuxu, 3. června 2025 09:56
lt_dlopen ("/usr/lib/collectd/syslog.so") failed: no symbols defined. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object. plugin_load: Load plugin "syslog" failed with status 1. lt_dlopen ("/usr/lib/collectd/cpu.so") failed: no symbols defined. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object. plugin_load: Load plugin "cpu" failed with status 1. lt_dlopen ("/usr/lib/collectd/interface.so") failed: no symbols defined. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object. plugin_load: Load plugin "interface" failed with status 1. lt_dlopen ("/usr/lib/collectd/load.so") failed: no symbols defined. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object. plugin_load: Load plugin "load" failed with status 1. lt_dlopen ("/usr/lib/collectd/memory.so") failed: no symbols defined. The most common cause for this problem is missing dependencies. Use ldd(1) to check the dependencies of the plugin / shared object. plugin_load: Load plugin "memory" failed with status 1. Error: Reading the config file failed! Read the logs for details.
/ # ldd /usr/lib/collectd/cpu.so ldd (0x55f3773e9000) libc.musl-x86_64.so.1 => ldd (0x55f3773e9000) Error relocating /usr/lib/collectd/cpu.so: sstrncpy: symbol not found Error relocating /usr/lib/collectd/cpu.so: plugin_register_read: symbol not found Error relocating /usr/lib/collectd/cpu.so: strsplit: symbol not found Error relocating /usr/lib/collectd/cpu.so: plugin_register_init: symbol not found Error relocating /usr/lib/collectd/cpu.so: value_to_rate: symbol not found Error relocating /usr/lib/collectd/cpu.so: cdtime: symbol not found Error relocating /usr/lib/collectd/cpu.so: sstrerror: symbol not found Error relocating /usr/lib/collectd/cpu.so: ssnprintf: symbol not found Error relocating /usr/lib/collectd/cpu.so: plugin_dispatch_values: symbol not found Error relocating /usr/lib/collectd/cpu.so: plugin_log: symbol not found Error relocating /usr/lib/collectd/cpu.so: plugin_register_config: symbol not found
FROM alpine:latest RUN apk update && apk upgrade && apk add --no-cache \ bash collectd \ --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \ --repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \ --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ && \ rm -rf /var/cache/apk/* CMD exec /usr/sbin/collectd -C /etc/collectd/collectd.conf -f
..The Debian and Ubuntu packages of collectd contain all plugins that are available for the platform you're using. However, they do not contain a Dependency on all required libraries for all plugins, because that would be a lot of packages..Nez dohledavat vsechny zavislosti, to uz radeji neco hotoveho, mozna..
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.