RSS구독하기:SUBSCRIBE TO RSS FEED
즐겨찾기추가:ADD FAVORITE
글쓰기:POST
관리자:ADMINISTRATOR
'64bit OS'에 해당되는 글 2
오류)
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 */

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

Trackback
Reply
64bit 리눅스에 apache 컴파일시 오류가 난다.
이유는 간단하다. 64bit 라이브러리와 32bit 라이브러리를 착각하는 경우랄까...
보통은 /usr/lib 32bit용 라이브러리를 먼저 찾아서 컴파일 하려 하기 때문일 것이다.

오류)
/usr/lib/libdb-4.3.so: could not read symbols: File in wrong format
/usr/lib/libexpat.so: could not read symbols: File in wrong format

해결법)
# mv /usr/lib/libexpat.so /usr/lib/libexpat.so~
# mv /usr/lib/libdb-4.3.so /usr/lib/libdb-4.3.so~
# ln -s /lib64/libexpat.so.0.5.0 /usr/lib/libexpat.so  
# ln -s /lib64/libdb-4.3.so /usr/lib/libdb-4.3.so

간단하게 컴파일러가 찾는 곳에다 링크를 해버리면 된다. 하하하하.. 이 얼마나 단순무식명쾌한 짓인가!

./configure 시에 --enable-lib64 --libdir=/usr/lib64 옵션을 줘서 해결해보자(난 이게 편하던데..)

Trackback
Reply
우주곰:지구곰이 아닙니다.
지구곰이 아닙니다.
Categories (190)
Information (5)
About uzoogom (5)
My Advanced Linux (73)
Learning Linux (96)
OperatingSystem (5)
Databases (4)
OpenSource (1)
Tips! (1)
«   2024/04   »
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