编译PHP时报错:configure: error: libjpeg.(a|so) not found.

编译PHP时报错:configure: error: libjpeg.(a|so) not found.



网络上的解决办法:
      # cd /usr/lib
      # ln -sf libjpeg.so.62.0.0 libjpeg.so



------------------------------------------------------------------
以上问题解决了,但是又报如下错误:
      configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.

网络解决办法:
      --with-jpeg-dir=/usr/lib

安装 libjpeg-devel-6.2.0-78

你可能感兴趣的:(PHP)