对ARP支持,需要安装以下库:
- APR library
- JNI wrappers for APR used by Tomcat (libtcnative)
- OpenSSL libraries
其中JNI wrappers(libtcnative)安装依赖另外两项,以及Java headers.(It depends on APR, OpenSSL, and the Java headers),也就是:
- APR 1.2+ development headers (libapr1-dev package)
- OpenSSL 0.9.7+ development headers (libssl-dev package)
- JNI headers from Java compatible JDK 1.4+
- GNU development environment (gcc, make)
首先安装APR和OpenSSL:
$ sudo apt-get install libapr1-dev libssl-dev
时间: 2024-10-21 07:16:17