[사전 설치]
1. apr 설치 (tomcat/apache)
1) 설치 버전 : apr 1.5.2
2) 설치 위치 : /ccpkg/platform/tomcat/apr/
3) 빌드
> tar –zxvf apr-1.5.2.tar.gz
> cd apr-1.5.2
> ./configure --prefix=/ccpkg/platform/tomcat/apr/
> make && make install
2. apr-util 설치(tomcat / apache)
1) 설치 버전 : apr-util 1.5.4
2) 설치 위치 : /ccpkg/platform/tomcat/apr
3) 빌드
> tar -zxvf apr-util-1.5.4.tar.gz
> cd apr-util-1.5.4
>./configure --prefix=/ccpkg/platform/tomcat/apr/ --with-apr=/ccpkg/platform/tomcat/apr/
> make && make install
[tomcat extract]
tomcat-native 설치
1) 설치 버전 : 1.1.34
2) 설치 경로 : /ccpkg/platform/tomcat
3) 빌드
> tar -zxvf tomcat-native-1.1.34-src.tar.gz
> cd tomcat-native-1.1.34-src
> cd ./jni/native
> ./configure --with-apr=/ccpkg/platform/tomcat/apr --with-ssl=/ccpkg/platform/tomcat/ssl --prefix=/ccpkg/platform/tomcat
> make && make install
> cp ./apr/libtcnative-1.so.0.1.34 /ccpkg/platform/tomcat/lib/
> cd /ccpkg/platform/tomcat/lib/
> ln -s libtcnative-1.so.0.1.34 libtcnative-1.so
> ln -s libtcnative-1.so.0.1.34 libtcnative-1.so.0
> cd /ccpkg/app/cc_was/bin/
> vi base.sh
“export LD_LIBRARY_PATH=/ccpkg/platform/tomcat/lib:$LD_LIBRARY_PATH” 추가 (기존에 있음 패스)