My Advanced Linux/Advanced Linux

64bit OS MySQL 컴파일시 컴파일이 안될 때

우주곰 2009. 7. 24. 10:58
오류)
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.

이러면서 configure가 잘 안될때가 있다.
나의 경우에는 64bit OS에서 이러한 오류가 나더라.
glibc 쪽에 문제라고 하니.. 뭐..

해결법)
# vi /usr/include/pthread.h
/* Linuxthreads */

한줄을 페이지에 적어 넣는다.