IT노트(구)/기타
error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory 에러 해결 방법
스프링연구소
2015. 12. 31. 11:13
리눅스에서 아파치를 시작할 때(./apachectl start)
다음과 같은 에러가 나는 경우가 있다.(설치 직후에)
error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
원인은 다양하지만
유력한 해결책은 다음과 같다.(라이브러리 디렉토리를 다시 빌드하는 방법)
sudo rm /etc/ld.so.cache
sudo /sbin/ldconfig