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
Making SevenZipExtractor work on Linux #41
Comments
Hello, I've been looking into that a bit but from my understanding SevenZipExtractor is a wrapper over 7z native dlls. I couldn't find any 7z libs for linux aside p7zip that is not supported anymore and stopped receiving updates in 2016. Are you aware of other options to use SevenZipExtractor on linux? The Kernel32dll is to load the 7z assembly so even if we achieve to be able to load a library, there won't be any to be loaded. (I might be totally wrong, please correct me if so) |
In my understanding as long as 7z DLL does nothing platform specific it should work in both Linux and Windows. Its all up to one experiment: simple console app PoC |
@adoconnection Hi! adoconnection! Is there a solution for running on Linux. |
I don't think there is. I ended up reworking my project to remove 7zip because it didn't work on Linux. |
Do you have any plans to make this project compatible with Linux in the future? |
Hi, at this point ZevenZipExctractor rely on WinApi and Kernel32.dll in particular. Looking for someone to help me. |
this did not worked |
Hi. I lack knowledge on the details required, but I am happy to perform tests locally if that helps. |
There are a Windows-specific API calls that prevent running SevenZipExptractor on Linux:
https://github.com/adoconnection/SevenZipExtractor/blob/master/SevenZipExtractor/Kernel32Dll.cs
This code may do the trick:
https://stackoverflow.com/questions/13461989/p-invoke-to-dynamically-loaded-library-on-mono
https://github.com/gordonmleigh/Stugo.Interop
The text was updated successfully, but these errors were encountered: