1.1 安装tomcat-native的时候提示apr和openssl版本过低无法安装
2017-12-15 22:59
766 查看
由于在安装tomcat-native软件做关于tomcat与mysql数据库通过nvtive提升tomcat性能的时候编译安装tc-native由于相关软件版本过低,导致无法继续安装,以下是解决思路过程和方法,及缺啥升级啥的原则进行解决思路.完成了相关的工作,
# wget http://archive.apache.org/dist/apr/apr-1.5.2.tar.gz # wget http://archive.apache.org/dist/apr/apr-util-1.6.1.tar.bz2 # wget http://archive.apache.org/dist/apr/apr-iconv-1.2.2.tar.gz[/code] 解决环境依赖:# yum -y install autoconf # yum -y install libtool # tar xvf apr-1.5.2.tar.gz # cd apr-1.5.2 # ./configure --prefix=/usr/apr # make # make install # echo "/usr/apr/lib" >> /etc/ld.so.conf ```~~ 安装apr-utiltar jxvf apr-util-1.6.1.tar.bz2
./configure --prefix=/usr/local/apr-util --with-apr=/usr/apr/
#make
#make installecho "/usr/local/apr-util/lib" >> /etc/ld.so.conf
安装apr-iconvcd apr-iconv-1.2.2
./configure --prefix=/usr/local/apr-iconv --with-apr=/usr/apr/
make
make install
echo "/usr/local/apr-iconv/lib/iconv" >> /etc/ld.so.conf
./configure --with-apr=/usr/bin/apr-1-config \
--with-java-home=/usr/java/jdk-9.0.1/ \
--with-ssl=yes \
--prefix=/usr/local/native
Error1:configure: error: Found APR 1.3.9. You need version 1.4.3 or newer
``` installed.由于安装的系统自带apr版本过低,,需要先升级相关软件版再重新编译.# ./configure --with-apr=/usr/apr/ --with-java-home=/usr/java/jdk-9.0.1/ --with-ssl=yes --prefix=/usr/local/native Error2: configure: error: Your version of OpenSSL is not compatible with this version of tcnative
Openssl不满足要求,需要升级:# wget https://www.openssl.org/source/openssl-1.1.0g.tar.gz # tar xvf openssl-1.1.0g.tar.gz # cd openssl-1.1.0g # ./config --prefix=/usr/local/openssl # ./config -t # make 编译 # make install 安装
相关文章推荐
- 安装tomcat的native-1.2.7遇到openssl版本提示问题
- 安装Tomcat时候提示因无法写入服务而导致无法安装问题的解决方法
- flash提示版本过低导致无法安装解决方法
- flash player for ie无法安装,提示版本过低解决办法
- tomcat 安装 apr (Apache Portable Runtime), tomcat-native.
- 运行Tomcat提示“The APR based apache tomcat native library failed to load...”
- tomcat安装后提示无法显示该网页
- 解决 win 7 64 位 vs2010 调试silverlight项目无法加载,提示更新developer ,跟新报 消息 ID: 1517 已安装了 Silverlight 的 64 位版本
- SpringBoot内置tomcat出现APR版本过低解决办法
- 安装wampserver的时候出现httpd.exe无法找到组件MSVCR100.dll。安装32位的系统下载VC10 SP1,再重新安装wamp server还是提示找不到.dll文件
- react-native 编译构建时出错,提示 Build Tools版本过低提示
- 签名后无法安装,提示“该应用版本与您手机中的版本签名不一致”解决办法
- 出现“无法通过windows installer服务安装此安装程序包。您必须安装带有更新版本Windows Installer服务的Windows Service Pack”提示如何解决?
- C#的Installer生成的msi的安装文件,安装新版本时提示:已经安装了该产品的另一个版本。无法继续安装此版本
- Panabit ipeinstall安装时候出现提示,无法安装!
- VMWare中安装RedHat9的时候安装第二个盘时提示光盘无法被挂载
- tomcat安装与配置native,apr
- 安装apr和tomcat-native优化tomcat
- tomcat Native APR安装
- Tomcat安装与配置Native APR模式的教程