apache + SSL 설치시 문제점 해결좀..-0-;
작성자 정보
- 이동완 작성
- 작성일
컨텐츠 정보
- 4,320 조회
- 2 댓글
- 0 추천
- 목록
본문
openssl-0.9.7m 버젼과
httpd-2.2.2 버젼을 설치하고 있습니다..
./config --prefix=/usr/local/openssl
SSL은 컴파일 및 make install 까지 깔끔하게 돼는데..
httpd가 문제네요..
문제 인 즉 configure까지는 됍니다....오류도 없구요....
SSL_BASE=/usr/local/openssl/ssl
./configure --prefix=/usr/local/apache --enable-so --enable-modules=so --with-mpm=worker --enable-rule=SHARED_CORE --enable-module=rewrite --enable-ssl --enable-lib --libdir=/usr/lib
이렇게 하면..
컴파일이 됍니다...근데 문제는 그 담인데요...
make만 시키면 어느정도 작업 수행이 돼다가 에러가 뜹니다.
.libs/ab.o: In function `ssl_print_cb':
/root/APM/httpd-2.2.2/support/ab.c:382: undefined reference to `BIO_get_callback_arg'
.libs/ab.o: In function `start_connect':
/root/APM/httpd-2.2.2/support/ab.c:1144: undefined reference to `BIO_set_callback'
/root/APM/httpd-2.2.2/support/ab.c:1145: undefined reference to `BIO_set_callback_arg'
.libs/ab.o: In function `main':
/root/APM/httpd-2.2.2/support/ab.c:2154: undefined reference to `SSL_CTX_set_info_callback'
collect2: ld returned 1 exit status
make[2]: *** [ab] Error 1
make[2]: Leaving directory `/root/APM/httpd-2.2.2/support'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/APM/httpd-2.2.2/support'
make: *** [install-recursive] Error 1
이 오류인데 이거 잡을수 없는건가요??=_=;
저 안에 들어가보니 #ifdef USE_SSL 라는 C 함수들이 있더군요..ㅠ_ㅠ
조언좀 부탁 드립니다..ㅎㅎ
관련자료
-
이전
-
다음
이동완님의 댓글
- 이동완
- 작성일
openssl genrsa -des3 -out SSLtest.key 1024
openssl req -new -key SSLtest.key -out SSLtest.csr
openssl req -noout -text -in SSLtest.csr
이렇게 입력하고 정보를 입력 했습니다..
최상위에 파일이 두개 생기더군요..
다시 설치하기 위해서 그 파일 두개를 삭제 했습니다..
복구가 안되던데....어떻게 하면 재 입력이 가능 한지도 궁금하네요..
그럼 항상 즐거운 날 되세요..
고재찬님의 댓글
- 고재찬
- 작성일
저희도 똑같은 에러였는데요
저희는 문제됐던게 ssl 폴더의 경로였었어요
저희는 /usr/local/bin/ 폴더밑에 openssl 실행파일이 설치됐거든요.
그래서 이래저래 해보던 결과 /usr/local 까지만 경로를 지정해야하더라구요
그러면 알아서 bin/openssl을 찾아서 참조하여 make돼는것 같습니다.
설치 옵션때 --with-ssl=/usr/local 로 줬습니다.
혹시 저 에러와 같은것이 나오면 한번 옵션준것들의 경로를 확인해보심이 어떨까 싶네요.