Error while loading shared libraries (libudev.so.0)

  • 오류메시지

error while loading shared libraries: libudev.so.0: cannot open shared object file

  • 환경 - Ubuntu 13.04 또는 Linux Mint 15 (64bit)

Ubuntu 저장소를 이용한 패키지 설치가 아닌 외부 패키지를 설치했을 때 이런 메시지를 종종 볼 수 있는데 오류 메시지 그대로 라이브러리를 찾지 못해서 발생하는 메시지이다. 아래 명령을 통해서 쉽게 수정 할 수 있다.

$ cd /lib/x86_64-linux-gnu
$ sudo ln -s libudev.so.1 libudev.so.0
$ sudo ldconfig

별 것 아닌 메시지 이지만 libudev 파일 위치를 몰라서 헤매는 경우를 봤기에 간단히 포스팅 해봅니다.