收集发布商家平台
优惠码、活动

Pure-Ftpd无法安装成功,sodium.h: No such file or directory

FTP安装好多次了,但是每次点ftp都提示请先安装Pure-Ftpd!如下:

请先安装Pure-Ftpd!

解决方案:

一、检查错误的原因:
我的错误原因为:
sodium.h: No such file or directory
安装sodium.h即可正常的安装,安装完成后启动服务器,再安装ftp即可安装成功

wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18-stable.tar.gz
tar -zxf libsodium-1.0.18-stable.tar.gz
cd libsodium-stable

编译安装:

./configure --prefix=/usr
make && make check
sudo make install
sudo ldconfig

如出现以下错误:

config.status: error: Something went wrong bootstrapping makefile fragments
     for automatic dependency tracking.  Try re-running configure with the
     '--disable-dependency-tracking' option to at least be able to build
     the package (albeit without support for automatic dependency tracking).

执行以下

yum install make -y
赞(1) 打赏
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权
文章名称:《Pure-Ftpd无法安装成功,sodium.h: No such file or directory》
文章链接:https://www.7ye5.com/550.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫