아래의 설치방법은 제가 직접해보질 않아서
정확하게는 모르겠고..
다만
아파치2.0의 경우는
--with-apxs= 가 아니고
--with-apxs2=
인걸로 아는데 한번 옵션을 체크해 보시길 바랍니다.
[타니]님이 남기신 글:
>
>apache-2.0.44 tomcat-4.1.18 연동해서 인스톨하는데...
>tomcat-connectors-4.1.18 에서 mod_jk.so 생성시
># cd /tmp/jakarta-tomcat-connectors-4.1.12-src/jk/native
># ./buildconf.sh
># ./configure --with-apxs=/usr/local/apache/bin/apxs
># make
># make install
>아래와 같은 에러가 생겼는데....의미를
모르겠군여....
>조언 부탁드립니다...
>#cat ld.so.conf
>/usr/kerberos/lib
>/usr/X11R6/lib
>/usr/local/apache/lib
>/usr/local/apache/modules
>/usr/local/mysql/lib
>/lib
>/usr/lib
>/usr/local/lib
>
>-------------------------------------error---------
>Installing files to Apache Modules Directory...
>/usr/local/apache/bin/apxs -i mod_jk.la
>/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool'
mod_jk.la /usr/local/apache/modules
>/usr/local/apache/build/libtool --mode=install cp mod_jk.la
/usr/local/apache/modules/
>cp .libs/mod_jk.lai /usr/local/apache/modules/mod_jk.la
>cp .libs/mod_jk.a /usr/local/apache/modules/mod_jk.a
>ranlib /usr/local/apache/modules/mod_jk.a
>chmod 644 /usr/local/apache/modules/mod_jk.a
>PATH="$PATH:/sbin" ldconfig -n /usr/local/apache/modules
>----------------------------------------------------------------------
>Libraries have been installed in:
> /usr/local/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
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
>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 /usr/local/apache/modules/mod_jk.la.
>Assuming installing a .so rather than a libtool archive.
>chmod 755 /usr/local/apache/modules/mod_jk.so
>chmod: failed to get attributes of `/usr/local/apache/modules/mod_jk.so': 그런
파일이나 디렉토리가 없음
>apxs:Error: Command failed with rc=65536
>.
>make[1]: *** [install_dynamic] 오류 1
>make[1]: 나감
`/usr/local/jakarta-tomcat-connectors-4.1.18-src/jk/native/apache-2.0'
디렉토리
>make: *** [install-recursive] 오류 1
========================================
|