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

apache-2.0.59 + openssl-0.9.8e

작성자 정보

  • 쬐끔차칸현이 작성
  • 작성일

컨텐츠 정보

본문

openSSL : openssl-0.9.8e
apache : apache-2.0.59
os : SunOS govwww 5.9 Generic_118558-03 sun4us sparc FJSV,GPUZC-M

bash-2.05# ./apachectl startssl
couldn't set locale correctly
Syntax error on line 254 of /app/apache2/conf/httpd.conf:
Cannot load /app/apache2/modules/mod_ssl.so into server: ld.so.1: /app/apache2/bin/httpd: fatal: relocation error: file /app/apache2/modules/mod_ssl.so: symbol X509_INFO_free: referenced symbol not found
bash-2.05#

 

아래는 설치과정입니다.
=========================================================================

open SSL Install
[root@ns openssl-0.9.8e]# ./config shared no-threads -fPIC
[root@ns openssl-0.9.8e]# make clean
[root@ns openssl-0.9.8e]# make
[root@ns openssl-0.9.8e]# make install


Apache Config
[root@ns apache-2.0.59]# ./configure --prefix=/app/apache2
[root@ns apache-2.0.59]# make clean
[root@ns apache-2.0.59]# make
[root@ns apache-2.0.59]# make install

※ make, make install을 한 이유:
 - php configure를 할때 --with-apxs2=/app/apache2/bin/apxs 이 필요함으로
 - php의 libphp4.so 라는 파일이 apache/modules/ 폴더 아래 생김으로 미리 생성해주는 것임

 

PHP Install
[root@ns php-4.0.5]# ./configure --prefix=/app/php --with-apache-install=/usr/local/src/httpd-2.0.59 --with-apxs2=/app/apache2/bin/apxs --with-language=Korean --with-charset=euc_kr --with-config-file-path=/etc --enable-ftp --enable-calender --enable-trak-vars --enable-magic-quotes --disable-debug --with-xml --enable-module=so --enable-sockets
[root@ns php-4.0.5]# make clean
[root@ns php-4.0.5]# make
[root@ns php-4.0.5]# make install


Apache Install
[root@ns apache-2.0.59]# ./configure --prefix=/app/apache2 --datadir=/app/apache2 --sysconfdir=/app/apache2/conf --enable-module=php4 --enable-modules=so --enable-so --enable-module=ssl --with-ssl --enable-ssl=shared --enable-rule=SHARED_CORE --enable-mods-shared=all --enable-file-cache

[root@ns apache-2.0.59]# make clean
[root@ns apache-2.0.59]# make
[root@ns apache-2.0.59]# make install

=========================================================================

이렇게 설치를 하고 아파치를 실행시켜보았는데 위와 같은 에러가 뜨네요...;;
여러번 해보아도 똑같은 에러만이....;;

 

원인이 무엇일까요...;;

 

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  373 명