Skip to content

조회 수 6629 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

mysql 설치 중 LinuxThreads 에러 발생할 때

(Fedora Core 4 이상의 배포판에서 mysql 소스컴파일 설치시 발생한다.)


- /usr/include/pthread.h 파일에 /* Linuxthreads */ 라인을 삽입해준다.

echo "/* Linuxthreads */" >> /usr/include/pthread.h


<참고>

There are two workarounds which should enable 4.0 to build on a NPTL-only
system:
1) Insert a misleading comment into the header file defining thread functions:
     echo '/* Linuxthreads */' >> /usr/include/pthread.h
  (The check just goes by searching that string.)

2) Explicitly give a threads library:
     ./configure --with-pthread --with-named-thread-lib=-lpthread ...
  (This takes precedence over the checks.)
./configure --prefix=/usr/local/mysql --with-charset=euckr --with-pthread --with-named-thread-lib=-lpthread


List of Articles
번호 제목 글쓴이 날짜 조회 수
6 mysql 자주쓰는 명령어 정리 ADMINPLAY 2008.10.30 7168
5 mysql 버전 3.23.58 (4.0.X)설치 가 안되서 그러는데 ADMINPLAY 2009.07.14 6890
4 mysqladmin 사용하기 DB연결수 및 세부정보 알아내기 ADMINPLAY 2009.06.25 6843
3 mysql 자세한 복구 방법 #1 ADMINPLAY 2008.11.11 6752
2 mysql 초간단 설치 ADMINPLAY 2009.10.15 6707
» mysql 설치 시 LinuxThreads 에러 ADMINPLAY 2008.10.30 6629
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234