rocksdb-sharp icon indicating copy to clipboard operation
rocksdb-sharp copied to clipboard

Use official builds for all platforms

Open rubo opened this issue 1 year ago • 5 comments

Could we please have the official binaries by Facebook for all platforms? The linkage to snappy and bz2 causes many problems on Linux, sometimes on macOS. Replacing those with ones from Facebook works as expected without having to install third-party packages and configure symlinks for some Linux distros. Furthermore, it will be more consistent to have all the binaries in the package from Facebook built the same way with no surprises on different platforms.

This is a major headache for us and I raised this a few times here and here but no action so far. Please reconsider this; otherwise, we will have to fork and maintain a separate package and that's just another burden for us.

Also, we can't use chiseled Docker images from Microsoft straight away without ugly workarounds because of those dependencies. Again, with Facebook builds, there's no problem.

rubo avatar Dec 11 '23 18:12 rubo

@rubo Just published a new version built with the official package libraries (except for windows, because for some reason the function names are exported weirdly in the java package). image

I'll do a round of testing on our end to make sure these builds won't break anything, if that's the case we can switch to this permanently.

theolivenbaum avatar Jan 11 '24 15:01 theolivenbaum

Thank you. Yeah, for Windows, they use this. Luckily, there's no need to install any dependency on Windows.

Please let us know when the package is available; we will also test it.

rubo avatar Jan 11 '24 15:01 rubo

I encounter a lot of errors when compiling and I don't know how to handle them. Can anyone provide a compiled Windows 64 dll?

chenjing1294 avatar Feb 01 '24 09:02 chenjing1294

@chenjing1294 Doesn't the DLL bundled in the NuGet package work for you?

rubo avatar Feb 01 '24 15:02 rubo

@rubo I forgot to introduce this, now it's back to normal

<PackageReference Include="RocksDbNative" Version="6.2.2" />

chenjing1294 avatar Feb 02 '24 00:02 chenjing1294