0
我已經從git repo下載了libmongoc驅動程序並進行安裝。然後我下載了collectd tar文件,並提取它,並嘗試安裝它,每一件事就ok了,但是當我嘗試運行收集d我面對這些錯誤:collectd write_mongodb插件lt_dlopen錯誤在fedora 17. collectd不能識別已安裝的lib
[path to collectd]# sbin/collectd
ERROR: lt_dlopen ("/opt/collectd/lib/collectd/write_mongodb.so") failed: file not found.
The most common cause for this problem are missing dependencies.
Use ldd(1) to check the dependencies of the plugin/shared object.
[path to collectd]#
[path to collectd]# ldd /opt/collectd/lib/collectd/write_mongodb.so
linux-vdso.so.1 => (0x00007fff1dbaa000)
libmongoc.so.0.7 => not found
libdl.so.2 => /lib64/libdl.so.2 (0x00007f8351fd1000)
libc.so.6 => /lib64/libc.so.6 (0x00007f8351c1a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f83523e4000)
[path to collectd]#
[path to collectd]# locate libmongoc.so.0.7
/usr/local/lib/libmongoc.so.0.7
/usr/local/lib/libmongoc.so.0.7.1
[path to collectd]#
爲什麼collectd無法識別安裝libmongoc庫?
我得到了和你一樣的錯誤。你解決了嗎? – 2013-06-02 03:35:30
不幸的是,我想收集我的guest vms統計信息,現在我使用libvirt標準api來做到這一點。 – 2013-06-02 04:22:08