Glib

如何在 Ubuntu 上安裝 glib 和 mdbtools?

  • February 20, 2010

我正在嘗試在我的 ubuntu9.10 上安裝 mdbtools。為 mdbtools 執行 ./configure 時,腳本遇到問題並終止並顯示以下消息:

checking for GLIB - version >= 2.0.0... 
*** 'pkg-config --modversion glib-2.0' returned 2.22.0, but GLIB (2.22.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no

如何解決此問題並讓 mdbtools 的 ./configure 正常執行?我如何知道 pkg-config 是否正確?確定 LD_LIBRARY_PATH 正確值的步驟是什麼?確定 PKG_CONFIG_PATH 正確值的步驟是什麼?

謝謝

我想到了。我只需要做一個

sudo apt-get 安裝 mdbtools

安裝 mdbtools

引用自:https://serverfault.com/questions/114701