Works/리눅스 트러블슈팅
checking "LinuxThreads"... "Not found" ==> Mysql 설치 시 오류
Antamis
2017. 5. 24. 14:40
### mysql 4.0.27 thread에러 해결 방법 ###
에러메시지
: checking "LinuxThreads"... "Not found"
: configure: error: This is a linux system and Linuxthreads was not
: found. On linux Linuxthreads should be used. Please install Linuxthreads
: (or a new glibc) and try again. See the Installation chapter in the
: Reference Manual for more information.
이문제는 mysql-4.0의 NPTL 의 안정성을 너무 고려한 나머지 발생한 버그로
다음과 같이 변경해서 컴파일 하면 해결할수 있습니다
다음과 같이 변경해서 컴파일 하면 해결할수 있습니다
우선 echo '/* Linuxthreads */' >> /usr/include/pthread.h
를 통해서 헤더파일을 수정하고, 또는 vi /usr/include/pthread.h파일을 열어 맨 하단에
/* Linuxthreads */ 이것만 추가하면된다
/* Linuxthreads */ 이것만 추가하면된다
두번째로 컴파일 시 아래와 같이 옵션을 추가해서 컴파일 하면 오류없이 mysql을
설치하실수 있습니다.
출처: http://kensei.co.kr/303 [KENSEI IT BLOG]