Compiler environment centos7 php 5.4.26
$ Yum install libXpm-devel
displays installed
Baidu know ubuntu virtual machine installation problems encountered configure lamp: error:. LibXpm (a | so) not found.
Not you are missing something, and enter the following command to find the relevant documents to help the compiler!
64-bit OS
CD / usr / lib /
LN -s /usr/lib/x86_64-linux-gnu/libXpm.a
LN -s /usr/lib/x86_64-linux-gnu/libXpm.so
LN -s / usr / lib / x86_64 the GNU-Linux / libXpm.so.4
LN -s /usr/lib/x86_64-linux-gnu/libXpm.so.4.11.0
or failure ~~
ls -al
found a link file does not exist
ls /usr/
bin etc games include lib lib64 libexec local sbin share src tmp
发现存在 /usr/lib64
ln -s /usr/lib64/libXpm.so.4.11.0 /usr/lib/libXpm.so