全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2213|回复: 24

[Windows VPS] 懂centos的大神帮帮忙,编译qbittorrent出现问题

[复制链接]
发表于 2021-1-16 11:48:31 | 显示全部楼层 |阅读模式
想编译最新版的qb各种报错,现在提示openssl版本过低,openssl我都升级不下5遍了,查看版本也是1.1.1,可是编译时检测到的是1.0.2版本,试了各种教程各种重启都没用,到底是哪里有问题啊?
  1. checking for openssl... no
  2. configure: error: Package requirements (openssl >= 1.1.1) were not met:

  3. Requested 'openssl >= 1.1.1' but version of OpenSSL is 1.0.2k

  4. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  5. installed software in a non-standard prefix.

  6. Alternatively, you may set the environment variables openssl_CFLAGS
  7. and openssl_LIBS to avoid the need to call pkg-config.
  8. See the pkg-config man page for more details.
  9. [root@host1586012213 qBittorrent-release-4.3.2]# openssl version
  10. OpenSSL 1.1.1  11 Sep 2018
  11. [root@host1586012213 qBittorrent-release-4.3.2]#
复制代码
发表于 2021-1-16 17:53:42 | 显示全部楼层
你用Debian就没那么多事了,apt就能安装大部分软件,

用老掉牙的centos就是这样,什么都老,就算想编译也破事一堆。
发表于 2021-1-16 11:51:20 来自手机 | 显示全部楼层
可能是1.0.2没删掉
 楼主| 发表于 2021-1-16 11:58:43 | 显示全部楼层
Widayn 发表于 2021-1-16 11:51
可能是1.0.2没删掉

请问如何删除呢,我也搜了怎么卸载老版本可是没有教程啊
发表于 2021-1-16 12:04:37 | 显示全部楼层
Boost>1.72.0导致
实际上回显给的有提示
find / -name openssl.pc   
接着软链到/usr/lib64/pkgconfig/  (删除原有pc)
下一个报错接着循环上述操作
发表于 2021-1-16 12:05:27 | 显示全部楼层
可能环境库里面还是老版本吧
发表于 2021-1-16 12:15:30 | 显示全部楼层
不能直接指定openssl目录一起编译么?
发表于 2021-1-16 12:18:12 来自手机 | 显示全部楼层
搞不定的话用docker吧,DockerFile自己写
发表于 2021-1-16 12:35:48 来自手机 | 显示全部楼层
make的时候可以指定openssl的版本,具体怎么写去Google
发表于 2021-1-16 12:45:05 | 显示全部楼层
用docker不香吗
https://hub.docker.com/r/linuxserver/qbittorrent
发表于 2021-1-16 15:27:22 | 显示全部楼层
https://github.com/userdocs/qbittorrent-nox-static/releases
开箱即食不香吗
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-28 06:13 , Processed in 0.063540 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表