Skip to content

DLL is not found on Debian #1532

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

Closed
btwotwo opened this issue Jan 30, 2018 · 2 comments
Closed

DLL is not found on Debian #1532

btwotwo opened this issue Jan 30, 2018 · 2 comments

Comments

@btwotwo
Copy link

btwotwo commented Jan 30, 2018

So, I've installed latest preview version (0.25.0-preview-0073) and when I try to use this library on Linux (Debian 9.2) I get this exception.

System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'git2-15e1193': The specified module or one of its dependencies could not be found.

On Windows it works fine.

Maybe I miss some deps?

Just checked, lib and runtimes directories are in place.

@bording
Copy link
Member

bording commented Jan 30, 2018

@bo20202 See the discussion in #1484. At the moment, the version of the linux binary we ship has a dependency on libssl.so.1.0.0, and Debian 9 does not include that. If 1.0.0 can be installed on Debian 9, it should work.

There are plans to include binaries that will work with more distros out of the box, but there are some .NET Core issues I'm waiting to be resolved before I can make it happen.

@btwotwo
Copy link
Author

btwotwo commented Jan 30, 2018

@bording Thanks! Installing libssl.so.1.0.0 did the trick.

@btwotwo btwotwo closed this as completed Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants