xml2-config not found. Please check your libxml2 installation. 이 오류.. 분명 libxml2를 설치 했는데 계속 나옵니다... 멍미.. -_-??

bulsapa777의 이미지

php 를 깔고 있는데 자꾸 이 에러가 뜨네요...

전 분명 libxml2를 깔고 make && make install 도 했습니다.

최신 버젼으로도 해보고 좀 예전 버젼으로도 돌려보고 -_-

근데 왜 안되는 걸가요?

아님

libxml2 컴파일 중에 제가 모르는 오류가 난 걸까요?
그런 부분은 없었는데;; make 도중에도 오류는 뜨지 않았습니다.

정말 답답 하네요;;

아... 미치겠습니다.

좀 해결책좀 알려주세요..

다시 깔고 싶어도

이거 뭔... 계속 똑같은 말만 나오니...

아님 우분투에서 레드헷으로 써야 하나...

sulinux 나 써볼까나?ㅎㅎ

Munsen의 이미지

./configure --prefix=/usr

해줘야 하는게 아닐까요?
/usr/local에 깔리면 못 찾더라구요.
westporch의 이미지

Configuring extensions
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.

저도 예전에 위와 같은 에러 메시지를 보았습니다. -_-
그 당시 apt-get install libxml2-dev 명령을 사용하여 libxml2-dev 를 설치하니

configure: error: xml2-config not found. Please check your libxml2 installation.

메시지는 더 이상 나타나지 않았습니다.
libxml2-dev 를 설치하시고 다시 xml2를 설치하시면 제대로 컴파일 될 것 같아요~ :)