遇到configure: error: file program not found although it is needed by libtool的解决办法

yum install -y file 就可以解决了