全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2979|回复: 24
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1#
发表于 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就是这样,什么都老,就算想编译也破事一堆。
2#
发表于 2021-1-16 11:51:20 来自手机 | 只看该作者
可能是1.0.2没删掉
3#
 楼主| 发表于 2021-1-16 11:58:43 | 只看该作者
Widayn 发表于 2021-1-16 11:51
可能是1.0.2没删掉

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

本版积分规则

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

GMT+8, 2025-10-15 13:41 , Processed in 0.106059 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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