configure: error: wrong mysql library version or lib not found. Check config.log for more information

php 를 소스컴파일 하여 설치할 때에 configure 단계에서 “configure: error: wrong mysql library version or lib not found. Check config.log for more information”과 같은 에러가 발생한다면 다음과 같이 점검 진행해본다.

  1. /etc/ld.so.conf 파일 및 관련 디렉토리/파일들 점검. 필요시 심볼릭링크 파일 생성. (특히 libmysqlclient.so 파일 중점적으로)
  2. 1에서 점검 마쳤음에도 에러 계속 발생한다면 configure 옵션 중 ‘-with-mysqli’ 옵션 제거하고 진행. 이 방법 이후 문제들에 대해서는 아직까지 파악된것 없음.