runtime: SSLv3_method not defined in file libssl.so.1.0.0
Hi! I’m trying to access an SQL Server via EF on Arch Linux and the following error occurs.
Exception message:
/opt/dotnet/dotnet: relocation error: /opt/dotnet/shared/Microsoft.NETCore.App/1.1.0/System.Security.Cryptography.Native.OpenSsl.so: symbol SSLv3_method, version OPENSSL_1.0.0 not defined in file libssl.so.1.0.0 with link time reference
I know Arch Linux is not supported but maybe you guys have a hint so I may be able to fix this.
Steps to reproduce
Execute an arbitrary EF statement
Further technical details
EF Core version: 1.1.0 Database Provider: Microsoft.EntityFrameworkCore.SqlServer Operating system: Arch Linux IDE: (e.g. Visual Studio Code)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 23 (6 by maintainers)
In .NET Core 2.0 the common release for Linux will use late binding for functions, and SSLv3_method is marked as one that we can handle being missing (which will result in an exception for the handful of people who explicitly request SSLv3 on a system where OpenSSL was built to not have it).
Since the next version will already be easier to work with on arch, and a couple different workarounds are already presented in this issue; I’m going to close this.
Are there any updates on this? Quite a few distros no longer shipping SSL with this on: http://disablessl3.com/
Is there a good reason this is still required?
I got this working again… but I am not sure of problems with my solutions: downloaded this file to some folder (/tmp/sslv3) https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/openssl&id=4b82ed4285c7cb76caf6d75a015c5a7542c625d1
Edited and removed this no-ssl3 no-ssl3-method
downloaded this 3 files https://git.archlinux.org/svntogit/packages.git/plain/trunk/ca-dir.patch?h=packages/openssl&id=4b82ed4285c7cb76caf6d75a015c5a7542c625d1
https://git.archlinux.org/svntogit/packages.git/plain/trunk/no-rpath.patch?h=packages/openssl&id=4b82ed4285c7cb76caf6d75a015c5a7542c625d1
https://git.archlinux.org/svntogit/packages.git/plain/trunk/ssl3-test-failure.patch?h=packages/openssl&id=4b82ed4285c7cb76caf6d75a015c5a7542c625d1
on terminal cd /tmp/sslv3 makepkg sudo pacman -U openssl-1.0.2.g-2-x86_64.pkg.tar.xz
Pacman tell me about downgrading openssl, but now I can connect from netcore to sql server without problems.