mysql이 깔려있긴 한데 php를 컴파일 할 때 경로를 적어주려고하니
whereis mysql 하니까 다섯개의 경로가 나오는데
마지막 하나는 맨페이지이고 나머지는 다음과 같습니다.
정확히 어디에 깔려있는지 모르겠네요
/usr/bin 에 mysql 실행파일이 있고
/usr/lib/mysql 에 lib*.a 파일들이 있고
/usr/include/mysql 에 *.h 파일들이 있고
/usr/share/mysql 에서 ls를 해보면 아래와 같이 나오는데
binary-configure* german/ my-example.cnf* portuguese/
czech/ greek/ mysql-3.22.27.spec* russian/
danish/ hungarian/ mysql-log-rotate* slovak/
dutch/ italian/ mysql.server* spanish/
english/ japanese/ norwegian/ swedish/
estonia/ korean/ norwegian-ny/
french/ make_binary_distribution* polish/
어느 경로로 해도 컴파일이 되질 않는군요
경로를 /usr/include/mysql 로 했을 때
checking for MySQL support... yes
configure: error: Cannot find header files under /usr/include/mysql
로 나옵니다.
다른 경로들도 마지막에 경로부분만 다르고 같은 메시지가 나옵니다.
조언을 부탁드립니다.
--
what a beautiful day..