imlib 라이브러리 설치후 에러가 납니다.
안녕하세요 이제 막 리눅스를 시작해서 공부중인데요
얼마전 Enlightenment 윈도우 매니져를 보고
너무 맘에 들어서 제 리눅스에 설치하려했습니다.
그래서 Enlightenment 홈페이지에 갔더니
아래의 것들을 미리 깔아야 한다기에
IMLIB v1.9.14
libTIFF 3.5.5
libPNG 1.0.8
Zlib 1.1.3
libJPEG 6b
FreeType 1.3.1 (or greater)
FNLIB 0.5 (or greater)
하나빼곤 위의 것들을 다깔고 마지막으로 FNLIB 0.5 을 깔기위해
./configure를 실행시켰더니
.
..
...
checking for imlib-config... /usr/local/bin/imlib-config
checking for IMLIB - version >= 1.8.0... no
*** Could not run IMLIB test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding IMLIB or finding the wrong
*** version of IMLIB. If it is not finding IMLIB, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
configure: error: *** IMLIB 1.8 not installed - please install first ***
이라고 에러가 뜨는 데 도대체 무엇을 해야 해결되는지 모르겠습니다.
검색해 보아도 저와 비슷한 경우가 없어 도움을 얻지 못하겠습니다.
파워 리눅서님들께서 알려주시면 감사하겠습니다.
일단 imlib-config가 어디있는지 찾아보세요.[code:1]#
일단 imlib-config가 어디있는지 찾아보세요.
# whereis imlib-config
해당되는 파일이 있는 디렉토리를 기억하고 있어야 합니다.
다음은 FNLIB에서 ./configure --help로 어떤 옵션을 갖을 수 있는지
확인해 보세요.
거기에보면 imlib의 디렉토리를 설정하는 옵션이 있을겁니다.
그 옵션을 사용해서 그 값을 지정해 주어야합니다.
# ./configure --enable-imlib="/usr/local/bin/imlib-config"
디렉토리(/usr/local/bin/imlib-config)나 옵션(--enable-imlib)등은 제가 임의로
넣은 값입니다. 즉, 위와 같이 하시면 안되고 ./configure --help에서 나온
옵션과 whereis로 나온 디렉토리를 사용하셔야합니다.
------------------------------
좋은 하루 되세요.
감사합니다
말씀하신대로 whereis 명령을 했더니
경로가 두군데가 나오더군요 그중에 하나는 안돼서
다른걸로 결로를 주고 컴파일했더니 잘 됐습니다.
감사합니다. 꾸벅~
이제 리눅스를 시작하려는 학생입니다.
잘 부탁드립니다.
댓글 달기