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
명령어로도 생성이 된다.
반응형
'Linux' 카테고리의 다른 글
apache 시동시 에러 "undefined symbol: unixd_config" (0) | 2014.06.24 |
---|---|
특정 사용자의 소유자 변경 (0) | 2014.06.24 |
soft raid 디스크 미러링 (0) | 2014.05.21 |
CentOS 4.x yum 실행시 에러 (0) | 2014.03.24 |
php 컴파일 에러 /usr/bin/ld: cannot find -lltdl (0) | 2014.03.13 |