author | Florian Forster <octo@huhu.verplant.org> | |
Wed, 9 Feb 2011 06:28:03 +0000 (07:28 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 9 Feb 2011 06:28:03 +0000 (07:28 +0100) | ||
commit | a63ec989fa64dc13da40fc9b96b4c3bc73fdfbc1 | |
tree | 9a590ab7c40bea17dc8cef33ac10d8b90a19e14c | tree | snapshot |
parent | 48cde211ba0b69555478b2069ca0bc4051661b0b | commit | diff |
src/plugin.c: Print a more verbose error message if lt_dlopen() fails.
Since the Debian package doesn't depend on the libraries used by the
collectd plugins, some plugins may fail to load. ltdl reports this with
the very confusing error message "file not found". Since the plugin is
in fact available, many users don't realize a dependency is missing and
assume collectd is looking in the wrong directory -- and they are hardly
to blame for this.
This commit introduces a lengthy error message which hopefully points
users into the right direction.
Since the Debian package doesn't depend on the libraries used by the
collectd plugins, some plugins may fail to load. ltdl reports this with
the very confusing error message "file not found". Since the plugin is
in fact available, many users don't realize a dependency is missing and
assume collectd is looking in the wrong directory -- and they are hardly
to blame for this.
This commit introduces a lengthy error message which hopefully points
users into the right direction.
src/plugin.c | diff | blob | history |