SevenZipSharp
SevenZipSharp copied to clipboard
Running on Linux (.Net Core)
Now that SevenZipSharp support .Net Std. will it then be running in .Core on Linux too? I'm seeing an issue with the 7zip.dll...are there an equivalent Linux library that can be used?
I've not tested this in any way with Linux, and have no time / use case to do so either.
The only Linux variant I know of is p7zip, which is referenced to on the bottom of the 7zip download page. I have no idea if this is in any way compatible with SevenZipSharp.
But it's actually not maintained anymore. The Windows binaries are way ahead. Igor doesn't maintain the Linux version, some 3rd guy did long time ago but he pulled the plug. So I've looked for some alternatives which use the LZMA algorithm (just as 7zip) and it kind of boils down to XZ-Utils (which apparently is bad coded) and lzip/plzip
I know it's a little off-topics (in regards to SevenZipSharp), but just wanna share the info for others ;-)
Any chances that this feature will be added? I'm looking for a way to use 7zip in a .NET Core application running on linux (see question on StackOverflow).
I have to give you the same answer as Panagiotis on SO. This isn't really up to this lib, you'll need to find/create a 7z dll implementation that works on Linux.
If you do have that, I'm open to including/making changes required to get it working in this lib as well.
I could not find an up-to-date version of 7z for Linux. The latest release seems to be from late 2016.
I've managed to pass some tests using p7zip's 7z.so with slight modification of csharp code, but there is a problem with SIGABRT.
Plus Marshal.ReleaseComObject causing it too.
All causing pointer being freed was not allocated.
You can check edits @ https://github.com/foesmm/SevenZipSharp/commit/a17b958056a7e2981eff238decf5495e8cb9cb8b