我特林編譯gtk+-3.2.0
,但我從./configure
的錯誤消息:編譯後的GTK
checking for GLIB - version >= 2.29.14...
*** 'pkg-config --modversion glib-2.0' returned 2.32.4, but GLIB (2.34.0)
*** 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
configure: error:
*** GLIB 2.29.14 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.
我真的有GLIB 2.34.0(我從源編譯過),但我不t知道如何做gtk知道圖書館。我已將PKG_CONFIG_PATH更改爲指向新的glib安裝的路徑,並且在ldconfig
之後,但沒有任何區別。通過修改/etc/ld.so.conf我真的不知道該怎麼做。任何幫助非常感謝。謝謝
好吧,所以我認爲你必須刪除老版本的GLib? – MiJyn
但它不會破壞另一個源代碼? – Jack
你是什麼意思? – MiJyn