apxs 로 so 파일 추가 및 apache 의 make install 시 나오는 에러
작성자 정보
- 이소현 작성
- 작성일
컨텐츠 정보
- 4,849 조회
- 2 댓글
- 0 추천
- 목록
본문
openssl을 설치하기 위해
apache 2.0.X 버젼을 깔고 apache를 재설치 하였습니다.
그런데..... 재 설치한 파일에 *.so 파일이 생기질 않습니다.
/app/apache/modules/ 디렉토리를 보면
mod_xxxx.a
mod_xxxx.la
라는 파일만 잔뜩있고, 정작 있어야할 mod_xxx.so 파일이 존재하지 않은 것이지요....
그래서 혹시나 하는 마음에
apxs 명령어를 써서 추가해봤지만, 안되더이다... ㅠ.ㅠ
아래는 apxs 를 실행시켰을 때 나타나는 오류입니다.
bash-2.05# /app/apache/bin/apxs -i -a -c mod_dir.c
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
/app/apache/build/libtool --silent --mode=compile gcc -prefer-pic -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -g -O2 -pthreads -I/app/apache/include -I/app/apache/include -I/app/apache/include -I/usr/local/include -c -o mod_dir.lo mod_dir.c && touch mod_dir.slo
couldn't set locale correctly
/app/apache/build/libtool --silent --mode=link gcc -o mod_dir.la -rpath /app/apache/modules -module -avoid-version mod_dir.lo
/app/apache/build/instdso.sh SH_LIBTOOL='/app/apache/build/libtool' mod_dir.la /app/apache/modules
couldn't set locale correctly
couldn't set locale correctly
couldn't set locale correctly
/app/apache/build/libtool --mode=install cp mod_dir.la /app/apache/modules/
cp .libs/mod_dir.lai /app/apache/modules/mod_dir.la
cp .libs/mod_dir.a /app/apache/modules/mod_dir.a
ranlib /app/apache/modules/mod_dir.a
chmod 644 /app/apache/modules/mod_dir.a
----------------------------------------------------------------------
Libraries have been installed in:
/app/apache/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- use the `-RLIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Warning! dlname not found in /app/apache/modules/mod_dir.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /app/apache/modules/mod_dir.so
[activating module `dir' in /app/apache/conf/httpd.conf]
couldn't set locale correctly
bash-2.05#
apache 를 make install 하였을때도
Warning! dlname not found in /app/apache/modules/mod_dir.la.
Assuming installing a .so rather than a libtool archive.
위와 같은 워닝문이 쭉~ 뜹니다.
무엇이 잘못된 것일까요....
서버사양입니다.
bash-2.05# uname -a
SunOS govwww 5.9 Generic_118558-03 sun4us sparc FJSV,GPUZC-M
관련자료
-
이전
-
다음
방윤환님의 댓글
- 방윤환
- 작성일
아파치가 1.3.x 하고 2.x 버전으로 나누어지는걸루 알고 있습니다. 1점대랑 2점대
설치할대 가장 큰차이가 ./configure옵션이 조금 달라지는걸루 압니다.
--with-apxs=/usr/loca/apache/bin/apxs ---> 요거이 1점대
--with-apxs2=/usr/lcoal/apache/bin/apxs2 -->요거이 2점대
그리고 ssl은 아파치 설치전에 설치해주어야 제대루 적용이 되는걸루 알고있습니다
mod-ssl이란 모듈도 필요하구요 또한 아파치 설치할때 --enable-module=ssl 옵션두 들어가야하고, 아파치도 동적으로 설치해야합니다.
이소현님의 댓글
- 이소현
- 작성일