Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分 linux 缺失 OpenSSL 库的问题 #65

Closed
tyrant1024 opened this issue Sep 22, 2019 · 44 comments
Closed

部分 linux 缺失 OpenSSL 库的问题 #65

tyrant1024 opened this issue Sep 22, 2019 · 44 comments
Labels
Bugs Something isn't working help wanted Extra attention is needed platform/linux Issue related to Linux t/packaging Something strange on especially AppImage Upstream Upstream Qt, v2ray-core, GLIBC or golang related bugs.

Comments

@tyrant1024
Copy link

找不到 OpenSSL 库
这可能是由于系统中缺少 openssl 包造成的,或者是 AppImage 问题。
如果您正在使用 AppImage,请反馈一个 Bug

@tyrant1024 tyrant1024 added Bugs Something isn't working help wanted Extra attention is needed labels Sep 22, 2019
@ghost ghost assigned iusearch Sep 22, 2019
@ghost
Copy link

ghost commented Sep 22, 2019

收到

@ghost ghost added platform/linux Issue related to Linux t/packaging Something strange on especially AppImage labels Sep 22, 2019
@ghost ghost added this to the Qv2ray release packaging on every platforms milestone Sep 22, 2019
@ghost
Copy link

ghost commented Sep 22, 2019

@1136707199 你可以提供一下 AppImage 在控制台里面的输出吗?
和你的 Kali 版本号

@ghost
Copy link

ghost commented Sep 23, 2019

请确定 OpenSSL 在Kali上面安装了嘛?

@cnlnn
Copy link

cnlnn commented Sep 24, 2019

找不到 OpenSSL 库
这可能是由于系统中缺少 openssl 包造成的,或者是 AppImage 问题。
如果您正在使用 AppImage,请反馈一个 Bug

apt install libssl1.0-dev
即可解决

@zhangxs-go
Copy link

Screenshot_20190925_000725
manjaro 18.1也是这样,本地版本为OpenSSL 1.1.1c,是不是版本不一致导致的?

@ghost

This comment has been minimized.

@zhangxs-go

This comment has been minimized.

@wsjtangy
Copy link

找不到 OpenSSL 库
这可能是由于系统中缺少 openssl 包造成的,或者是 AppImage 问题。
如果您正在使用 AppImage,请反馈一个 Bug

apt install libssl1.0-dev
即可解决

用此方法解决了。

@ghost ghost changed the title 在kali上运行 部分 linux 缺失 OpenSSL 库的问题 Sep 30, 2019
@ghost ghost mentioned this issue Oct 1, 2019
@jianrry
Copy link

jianrry commented Oct 2, 2019

我也遇到了同样的问题,我的操作系统是ubuntu19.04,openssl版本是1.0.2g

openssl version
OpenSSL 1.0.2g  1 Mar 2016

另外,我还尝试了通过apt install openssl -y安装最新版本的openssl ,以及本地编译安装1.0.2l版本的openssl,同样还是没有解决问题

@iusearch
Copy link
Contributor

iusearch commented Oct 3, 2019

所需要的包不叫openssl,叫openssl1.0,装这个试试

@ghost
Copy link

ghost commented Oct 3, 2019

https://packages.ubuntu.com/cosmic/amd64/libssl1.0.0/download
https://packages.ubuntu.com/xenial-updates/amd64/openssl/download

These two downgrade packages make Qv2ray work after a clean install on Ubuntu 19.03, however, it may break some dependencies.

@ghost ghost pinned this issue Oct 3, 2019
@jianrry
Copy link

jianrry commented Oct 3, 2019

@lhy0403 Thanks a lot ,it has solved my problem.

wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb && sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb

@ghost
Copy link

ghost commented Oct 3, 2019

好的

@iusearch
Copy link
Contributor

iusearch commented Oct 3, 2019

你研究下这个openssl让它调用普通的openssl库呗

@ghost

This comment has been minimized.

@ghost ghost added Upstream Upstream Qt, v2ray-core, GLIBC or golang related bugs. wontfix This will not be worked on labels Oct 4, 2019
@ghost ghost unassigned iusearch Oct 4, 2019
@ghost
Copy link

ghost commented Oct 4, 2019

给未来看到这条 Issue 的所有人:
当前 Qv2ray 的 AppImage 版本需要的是 OpenSSL 1.0 ,需要进行手动安装

部分系统安装方法请参考:

  1. @jianrry 提供的脚本:
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb && sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb
  1. 在 Ubuntu 19.03 经过测试的 OpenSSL 降级包
https://packages.ubuntu.com/cosmic/amd64/libssl1.0.0/download
https://packages.ubuntu.com/xenial-updates/amd64/openssl/download
  1. Debian 或 Kali 系统的部分测试可用的 devapt install libssl1.0-dev
  2. ArchLinux 在 core 软件库中的 opensslopenssl-1.0

@jianrry
Copy link

jianrry commented Oct 4, 2019

我补充一下编译安装openssl-1.0.2g的方法:

wget --no-check-certificate https://www.openssl.org/source/openssl-1.0.2g.tar.gz

tar -xzvf openssl-1.0.2g.tar.gz

cd openssl-1.0.2g

./config --prefix=/usr/local

 sudo make install

安装成功后,输入openssl version就会出现版本信息

如果你是ubuntu19.04,建议采用我上面回复的方法,不推荐编译安装。

@SiqingYu
Copy link

SiqingYu commented Oct 6, 2019

On my Debian Buster machine, I need to install these two old packages:

@ghost
Copy link

ghost commented Oct 6, 2019

Yes, that's super annoying and I'm trying to find a solution.
Hold on...... It is a typo in the if condition!

@ghost ghost mentioned this issue Oct 6, 2019
@ghost
Copy link

ghost commented Oct 6, 2019

OSsl.Rq.V=OpenSSL 1.0.2g  1 Mar 2016
OSsl.Cr.V=OpenSSL 1.0.2g  1 Mar 2016

It's not an OpenSSL issue anymore, it was my fault that I missed a ! in the if statement.
Seems your OpenSSL version is OK, installing the old version may make it broken.

@ghost ghost removed the wontfix This will not be worked on label Oct 6, 2019
@SiqingYu
Copy link

SiqingYu commented Oct 6, 2019

@lhy0403 It's okay to make a mistake. People in the community is meant to help each other, afterall. 😃 Kudos to you for finding the typo so quickly. 👍
After fixing the if statement, is libssl-dev 1.1 supposed to work?

@ghost
Copy link

ghost commented Oct 6, 2019

The latest release (Which will be released a few days soon) will bundle the libssl.so and libcrypto.so inside the AppImage

Which will (theoretically) need nothing to be done on your system.

If you want to have a test, please uninstall the old packages (to make sure the sos are loaded from within the AppImage) and try our latest build here (it's also the place where released versions are built):
https://jenkins.lhy0403.top/blue/organizations/jenkins/Qv2ray-AppImage-Version1/activity

  • Open the link and click on the latest build from the list.
  • Then there'll be a artifact on the northeast (top-right) corner

@SiqingYu
Copy link

SiqingYu commented Oct 6, 2019

@ghost
Copy link

ghost commented Oct 6, 2019

Well it's a thing that many people think it's working with libssl 1.1.
However, you should read the output by running the Appimage inside a terminal to see if it's loading a 1.1 system installed version or the Appimage-Bundled version 1.0.

I personally think this AppImage (which was built against v1.0) is not compactble with the system-wide installed 1.1 packages.

@ghost
Copy link

ghost commented Oct 6, 2019

Anyway, glad that you made it work!

@ghost
Copy link

ghost commented Oct 6, 2019

It'll be marked as solved if there're more people able to use the Appimage here without having any modifications to the system packages.

ghost pushed a commit that referenced this issue Oct 6, 2019
ghost pushed a commit that referenced this issue Oct 6, 2019
ghost pushed a commit that referenced this issue Oct 6, 2019
@SiqingYu
Copy link

SiqingYu commented Oct 7, 2019

Also tested Qv2ray-AppImage-Release #69 [Jenkins]
https://jenkins.lhy0403.top/job/Qv2ray-AppImage-Release/69/ on Ubuntu 19.04. Works as intended.

@ghost
Copy link

ghost commented Oct 7, 2019

Also tested Qv2ray-AppImage-Release #69 [Jenkins]
https://jenkins.lhy0403.top/job/Qv2ray-AppImage-Release/69/ on Ubuntu 19.04. Works as intended.

Thanks for your contribution!

@ghost
Copy link

ghost commented Oct 8, 2019

这个问题应该在 v1.3.8 中解决了
https://github.com/lhy0403/Qv2ray/releases/tag/v1.3.8.0

@xlicz
Copy link

xlicz commented Oct 10, 2019

Ubuntu 16.04 不能工作
这个软件:
https://jenkins.lhy0403.top/blue/organizations/jenkins/Qv2ray-AppImage-Version1/detail/Qv2ray-AppImage-Version1/26/artifacts/
报这个错:
image
image

安装openssl 1.0.2g还是有这个问题。

使用最新的 v1.3.8.0 也有类似问题,openssl版本提示

image
image

@ghost
Copy link

ghost commented Oct 10, 2019

你好,请不要使用 Jenkins v26 的旧版本,相反您可以尝试 https://jenkins.lhy0403.top/blue/organizations/jenkins/Qv2ray-AppImage-Release/detail/Qv2ray-AppImage-Release/104/artifacts

如果这个版本还有问题,请再下面继续回复,谢谢

@xlicz
Copy link

xlicz commented Oct 10, 2019

这个版本是OK的,1.3.8.0 不OK,建议更新下。

@tyrant1024
Copy link
Author

已经解决上面的问题 但似乎有了新的问题

@ghost
Copy link

ghost commented Oct 15, 2019

已经解决上面的问题 但似乎有了新的问题

@tyrant1024 是什么问题?

@zhiai007
Copy link

你好,请不要使用 Jenkins v26 的旧版本,相反您可以尝试 https://jenkins.lhy0403.top/blue/organizations/jenkins/Qv2ray-AppImage-Release/detail/Qv2ray-AppImage-Release/104/artifacts

这资源不存在了嘛?

@ghost
Copy link

ghost commented Oct 18, 2019

@ghost
Copy link

ghost commented Oct 26, 2019

这个烦人的问题终于在 2fcd32e 被修复,将于 2.0 版本正式应用修改
感谢大家的支持,issue 将被关闭
如果还有相关 openssl 的问题,请到 #69 讨论

@ghost ghost closed this as completed Oct 26, 2019
@ghost
Copy link

ghost commented Oct 26, 2019

v1 后续版本(如果有)将使用这里的 AppImage
https://jenkins.lhy0403.top/job/Qv2ray-AppImage-Release/lastSuccessfulBuild/artifact/

@ghost ghost unpinned this issue Nov 17, 2019
ghost pushed a commit that referenced this issue Jan 24, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Something isn't working help wanted Extra attention is needed platform/linux Issue related to Linux t/packaging Something strange on especially AppImage Upstream Upstream Qt, v2ray-core, GLIBC or golang related bugs.
Development

No branches or pull requests

10 participants