---
title: 下载libressl-2.5.5的方法
description: "编译时提示libressl-2.5.5下载失败。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengbds/ecosystemEnable/tpdl/kunpengnettyall4117_02_0010.html
sourcePath: /source/zh/kunpengbds/ecosystemEnable/tpdl/kunpengnettyall4117_02_0010.html
indexId: 0d0e1190e1ea7846a7dfcb163fbfa8e55a00440f25869e594460be598dc628a575
---
# 下载libressl-2.5.5的方法

#### 问题现象描述

编译时提示libressl-2.5.5下载失败。


#### 关键过程、根本原因分析

无


#### 结论、解决方案及效果

1. 将下载的apr-1.6.3软件包，放置于以下位置。
  1 cp apr-1.6.3.tar.gz netty-tcnative-netty-tcnative-parent-2.0.7.Final/libressl-static/target

2. 修改“libressl-static/pom.xml”文件。

  a. 打开文件。
    1 vi libressl-static/pom.xml

  b. 按“i”进入编辑模式，注释掉该文件中1处下载libressl-2.5.5的部分。
    1 src="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${libresslArchive}" dest="${project.build.directory}/${libresslArchive}" verbose="on

  c. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
3. 下载libressl-2.5.5，放置于以下位置。
  1 2 wget http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.5.5.tar.gz mv libressl-2.5.5.tar.gz netty-tcnative-netty-tcnative-parent-2.0.7.Final/libressl-static/target

4. 继续编译打包到Maven本地仓库。
  1 mvn install
