atk 새 버전을 까는데 자꾸만.. :(
글쓴이: nekoko / 작성시간: 수, 2005/01/19 - 10:48오전
gtk+ 2.6.1을 깔기 위해 필요하다고 하는
atk-1.9.0
glib-2.6.1
pango-1.8.0
를 깔려고 합니다.
pkg-config도 최근 버전으로 보이는 pkgconfig-0.15.0를 깔았구요.
그런데 atk-1.9.0에서 ./configure 를 하면 맨 마지막에 다음과 같이 나옵니다.
Quote:
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.6.1, but GLIB (2.2.1)
*** 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.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.
glib는 2.2.1을 깔았다가 위와 같은 메세지가 나와서 make uninstall했거든요.
그런데도 GLIB(2.2.1) was found라니..;
/etc/ld.so.conf에 /usr/local/lib도 추가해 줬구요 (ldconfig도 했어요!) PKG_CONFIG_PATH 를 수정하라는데 이건 어디서 어떻게 해줘야 하는지..
Forums:
/usr/lib에 glib이전 버젼이 있는거 같습니다.
local에 까ㅓㄹㅈ;ㅣ 말고ㅓ
/usr/lib 에 깔아보세야ㅕ
즐린
답변 감사합니다
우왓 빠른 답변 감사합니다.
glib를 다시 ./configure --prefix=/usr/lib해서 깔고
혹시나 해서 /etc/ld.so.conf마지막을 /usr/lib으로 고치고
다시 atk를 깔아보았는데요
이번엔
아예 glib가 인식이 안되네요.....
"I'm convinced that the only thing that kept me going was that I loved what I did." - Steve Jobs 1955-2011
그냥 간단하게 fedora에 있는 srpm받아서 rebuild해서 까세여
그냥 간단하게 fedora에 있는 srpm받아서 rebuild해서 까세여
즐린
이런 에러메시가 발생하는 원인은, 대개, pkg-config에서는 버전
이런 에러메시가 발생하는 원인은, 대개, pkg-config에서는 버전 X가 설치되어 있다고 보고되었지만, 실제로 library가 Y가 보고되었을 경우 발생합니다.
따라서 먼저 "ldconfig -v | less"를 실행해서, 어떤 버전의 (shared) library가 (먼저) 인식되는지 보기 바랍니다. 예전 버전의 라이브러리가 보인다면, 라이브러리 자체를 지우거나, /etc/ld.so.conf에서 directory 순위를 바꿔주거나, LD_LIBRARY_PATH 환경 변수로 바꿔주는 방법을 쓰면 설치가 가능합니다.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
Korean Ver: http://cinsk.github.io/cfaqs/
댓글 달기