블로그 이미지
Rootrator
1개를 알면 모르는 10개가 튀어나온다..!

calendar

1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Notice

'mpm'에 해당되는 글 1

  1. 2014.05.27 Note that the MySQL client library is not bundled anymore!
2014. 5. 27. 15:34 Linux

php 컴파일시에 


Note that the MySQL client library is not bundled anymore!


위와 같은 에러가 뜨는 경우가 있는데,


apache를 컴파일 할때 --with-mpm-worker로 옵션을 줄 경우 


아파치는 Thread로 처리를 하지만 mysql은 컴파일 할 때 Thread-safe 옵션을 주지 않아서


libmysqlclient_r이 생성되지 않았기 때문이다.


prefork방식으로 처리시에는 에러가 뜨지 않는다.


mysql 컴파일시에 --enable-thread-safe-client 옵션을 추가한다.



또는 mysql을 설치하지 않았거나, rpm으로 설치 했을때


[root@localhost ~]# yum install -y mysql-devel


명령어로도 생성이 된다.

반응형
posted by Rootrator
prev 1 next