개인적으로 Linux를 사용함에 있어 발생했던 문제점들과 이를 해결한 방안을 정리한 것입니다. (특별한 언급이 없으면 64bit Cent OS에서 발생한 문제입니다.)


/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

   -> glibc i686 버전 설치 사용하는 architecture에 관계없이 i686을 설치해야 문제가 해결됨


[Warning] QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries.

  -> libgnomeui.i686 설치


SDL no such file or directory

  -> SDL2.x86_64, SDL2-devel.x86_64


sndfile.h no such file or directory

  -> libsndfile-devel.x86_64


OpenSSL 관련 no such file or directory

  -> openssl.x86_64, openssl-devel.x86_64 설치


Zlib 관련 no such file or directory

  -> zlib-devel.x86_64 설치


Alsa 관련 no such file or directory

  -> alsa-lib-devel.x86_64 설치

Posted by 어벙벙대마왕
,

간혹 make명령어를 이용하여 패키지를 빌드 할 때 error: variable xxx set but not used [-Werror-unused-but-set-variable] 이라는 에러가 발생하는 경우가 있습니다.


에러메세지의 의미는 변수를 선언하고 사용하지 않았다는 것입니다. 평소에는 warning으로 처리 되겠지만 Makefile에 설정한 option에 따라 이러한 에러가 발생할 수도 있습니다.


이를 해결하는 방법은 Makefile을 open하시면 CFLAGS라는 항목이 있는데 이 CFLAGS에서 -Werror 를 지워주시면 됩니다. (검색으로 -Werror를 찾아서 지우셔도 됩니다.)


-Werror는 warning을 error로 처리한다고 알고 있는데 정확한 의미는 찾게 되는대로 업로드 하겠습니다.

'Linux' 카테고리의 다른 글

Linux 사용시 발생했던 문제점과 해결 방법  (0) 2016.01.25
Posted by 어벙벙대마왕
,