질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

[완전삽질중]아파치 make시 에러메시지..

작성자 정보

  • 삽질중 작성
  • 작성일

컨텐츠 정보

본문

아파치 재설치의 이유는 ssl 때문입니다.
openssl은 설치가 되어 있으며 gcc버전은 3.2.3-20 OS는 fedora3입니다.
설치할 아파치 버전은 2.0.53 입니다.


./configure --prefix=/usr/local/apache2 --with-MPM=worker --enable-so --enable-ssl --enable-module-shared-ssl

아무 이상없이 완료!

make실행시 에러 메시지.

modules/ssl/.libs/mod_ssl.a(ssl_engine_vars.o)(.text+0xdb9): In function `ssl_var_lookup_ssl_cert':
/usr/local/httpd-2.0.53/modules/ssl/ssl_engine_vars.c:328: undefined reference to `OPENSSL_free'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(obj_dat.o)(.text+0x86b): In function `OBJ_create_objects':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(obj_dat.o)(.text+0x894): In function `OBJ_create_objects':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(obj_dat.o)(.text+0x8b3): In function `OBJ_create_objects':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(obj_dat.o)(.text+0x8d7): In function `OBJ_create_objects':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(obj_dat.o)(.text+0x902): In function `OBJ_create_objects':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(v3_utl.o)(.text+0x63e): In function `string_to_hex':
: undefined reference to `__ctype_tolower'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(v3_utl.o)(.text+0x659): In function `string_to_hex':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(v3_utl.o)(.text+0xbc4): In function `strip_spaces':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(bn_print.o)(.text+0x2be): In function `BN_hex2bn':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(bn_print.o)(.text+0x498): In function `BN_dec2bn':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(v3_conf.o)(.text+0x237): In function `v3_check_critical':
: undefined reference to `__ctype_b'
/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../libcrypto.a(v3_conf.o)(.text+0x2d7): more undefined references to `__ctype_b' follow
collect2: ld returned 1 exit status
make[1]: *** [httpd] Error 1
make[1]: Leaving directory `/usr/local/httpd-2.0.53'
make: *** [all-recursive] Error 1

참고로 openssl 에 문제가 있나 싶어서 버전 높여보고 낮쳐보고 다했는데두
에러 메시지 나오네요. rpm 으로도 해보고 소스로도 해보고
configure 할때 경로 지정도 해보고 해두 안되네욤.. 무슨 패키지가 없어서
그럴까요? 도대체가 답이 안나오네요.... install uninstall 만 20번 한거 같네요 풋.ㅎ

구글링을 해봐도 딱히 답이 안나와 이렇게 올립니다.

관련자료

댓글 1

환님의 댓글

  • 작성일
아파치를 1.3.37 정도로 다운그레이드후 설치를 다시 해보시고

openssl 와 apache 의 버전상 안 맞는건 없는지 확인을 한번 해보세요

혹.. rpm 설치는 어떨까요?

공지사항


뉴스광장


  • 현재 회원수 :  60,080 명
  • 현재 강좌수 :  36,011 개
  • 현재 접속자 :  321 명