[해결법] error while loading shared libraries: libreadline.so.6
error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory이라는 에러가 발생하는 경우가 있다.
해결방법
- libreadline가 없다면 설치한다.
$ sudo apt-get install libreadline-dev /lib/x86_64-linux-gnu/에libreadline.so.7은 있는데libreadline.so.6은 없다면 링크를 걸어준다.$ cd /lib/x86_64-linux-gnu/ $ sudo ln -s libreadline.so.7.0 libreadline.so.6
libreadline.so.6를 찾아 설치해주는 것이 가장 좋으나 libreadline.so.7를 링크로 걸어줘도 잘 동작했다.
Comments