在Centos 6.8上,我們嘗試重新啓動httpd並收到libpcre.so.1未找到的錯誤。如何重新啓動apache,但沒有找到libpcre.so.1錯誤
/usr/local/apache-2.4.16/bin/httpd -k停止
ldd ./httpd
linux-vdso.so.1 => (0x00007fff465ff000)
**libpcre.so.1 => not found**
libaprutil-1.so.0 => /usr/local/apache-2.4.16/lib/libaprutil-1.so.0 (0x00007f5cf17d3000)
libexpat.so.0 => /usr/local/apache-2.4.16/lib/libexpat.so.0 (0x00007f5cf15ac000)
libapr-1.so.0 => /usr/local/apache-2.4.16/lib/libapr-1.so.0 (0x00007f5cf1379000)
librt.so.1 => /lib64/librt.so.1 (0x0000003351400000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003353000000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003351000000)
libc.so.6 => /lib64/libc.so.6 (0x0000003350c00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003350400000)
libfreebl3.so => /lib64/libfreebl3.so (0x0000003353400000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003350800000)
不知道發生了什麼變化。
任何建議要解決?
你可以試試並運行'ldconfig -p | grep「libpcre.so.1」' – rrw