gtk+-설치시 glib버전 문제..

robinkim82의 이미지

gtk+-를 설치하려고 하는데 자꾸 glib버전 문제가 걸리네요.

/usr/local/lib/pkgconfig/의 glib-2.0.pc와
/usr/lib/pkgconfig/의 glib-2.0.pc의 버전 확인결과 둘다 2.20.5로 나오니
설치는 제대로 된거 같은데.. 그리고 pkg-config에서 나온 버전도 맞구요.

LD_LIBRARY_PATH설정문제인가요?

참고로 /etc/ld.so.conf에 맨아랫줄에 /usr/lib 추가하고 ldconfig했구요.

그래도 아래처럼 메시지가 뜨네요..

참고로 페도라 코어 7 사용하고 있습니다.

checking for GLIB - version >= 2.19.7...
*** 'pkg-config --modversion glib-2.0' returned 2.20.5, but GLIB (2.12.11)
*** 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.19.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.

hys545의 이미지

즐린

pkg-config은 2.20.5

usr/local에 설치된 glib는 지우고
rpm으로 까는게 좋을것 같습니다.
어차피 gtk2 컴파일하려면
GLIB 2.19.7가 필요하니까 말입니다.

즐린