You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.
On linux with .net core 2.0.2 installed, run build.sh.
Build will succeed, but unit tests will fail with message:
/home/vadim/projects/kafunk/tests/kafunk.Tests/bin/Release/Kafunk.Tests.dll
Errors, Failures and Warnings
1) Error : CompressionTests.Compression.Snappy reads messages that are compatible with reference implementation
System.TypeInitializationException : The type initializer for 'Snappy.NativeProxy' threw an exception.
----> System.DllNotFoundException : kernel32
#dotnetcore
On linux with .net core 2.0.2 installed, run build.sh.
Build will succeed, but unit tests will fail with message:
Investigation shows that Snappy.NET is packaged with 32 and 64 versions of snappy.dll in order to dynamically load appropriate library and avoid native dependency management. Windows kernel32:LoadLibrary function is used, which fails on windows.
https://bitbucket.org/robertvazan/snappy.net/src/ffa7e8165ae7e2ec5e8384b21a9b406ad972c3f1/Snappy.NET/NativeProxy.cs?at=default&fileviewer=file-view-default#NativeProxy.cs-49
It should be easy to detect non-windows environment and load "snappy.so" on linux.
I'll try to fix Snappy.NET and will sent patch upstream.
The text was updated successfully, but these errors were encountered: