2012-11-18 4 views
1

CentOS6에서 Python 2.7.3을 컴파일하려고합니다. 거의 모든 것은 괜찮습니다. 정말로 필요한 것을 제외하고는 ^^.SSL을 지원하는 Python을 컴파일하는 중 오류가 발생했습니다.

나는 오류를 받고 있어요 만들 입력 할 때 : 내가 빌드가 모듈 _ssl (이 같은) 실패 메시지를 받고 있어요

building '_ssl' extension 
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -I/usr/local/include -I/root/Python-2.7.3/Include -I/root/Python-2.7.3 -c /root/Python-2.7.3/Modules/_ssl.c -o build/temp.linux-i686-2.7/root/Python-2.7.3/Modules/_ssl.o 
gcc -pthread -shared build/temp.linux-i686-2.7/root/Python-2.7.3/Modules/_ssl.o -L/usr/local/lib -lssl -lcrypto -o build/lib.linux-i686-2.7/_ssl.so 
*** WARNING: renaming "_ssl" since importing it failed: build/lib.linux-i686-2.7/_ssl.so: undefined symbol: krb5_auth_con_getrcache 

그리고 마지막에

.

혹시이 문제에 봉착 했습니까? OpenSSL (0.9.8e fips)과 OpenSSL-dev를 모두 설치했습니다.

답변

0

openssl-dev (lib 및 include)에 대한 올바른 경로가 Makefile에 있는지 확인하십시오.

+0

경로가 옳다고 생각합니다. 아마 내 OpenSSL 적합하지 않습니다, 나도 몰라. – marxin

관련 문제