Skip to content
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

Error: Invalid argument: Compression type LZ4 is not linked with the binary. #866

Closed
zhekafun opened this issue Aug 27, 2019 · 11 comments · Fixed by #867

Comments

@zhekafun
Copy link

commented Aug 27, 2019

System Information

Operating System: win
OS Version: win10 pro
CPU Make, Model, & Speed: i5
Amount of RAM: 16
Hard Drive Type: 2tb
Hard Drive Size: sdd+hdd
Volume Type: ntfs

TurtleCoin Build Information

Version: v0.18.0.1290
Binary Source: precomp from github
If self compiled, please provide all the build commands you used

Please insert your build commands here. Example:

Issue Report

Binary Reported: TurtleCoin v0.18.0.1290 ()

Expected Behavior

thought will decrease blockchain size by compression

Current Behavior

started daemon
TurtleCoind.exe --data-dir path-my-path --db-enable-compression
and got

DB Error. DB can't be created in x:\xxx\TurtleCoin/DB. Error: Invalid argument: Compression type LZ4 is not linked with the binary

@brandonlehmann brandonlehmann added the bug label Aug 27, 2019

@brandonlehmann

This comment has been minimized.

Copy link
Collaborator

commented Aug 27, 2019

Was this a release binary from the releases page or did you compile yourself?

Found the answer hidden in your issue. I've updated your post to remove the comments and show your information.

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 27, 2019

@brandonlehmann brandonlehmann self-assigned this Aug 27, 2019

brandonlehmann added a commit to brandonlehmann/turtlecoin that referenced this issue Aug 27, 2019
Resolves turtlecoin#866
- Restores the WITH_LZ4 option in the main CMakeLists.txt
- Carries the WITH_LZ4 flag to the non-MSVC build process for RocksDB instead of always setting to ON
- Updates RocksDB CMakeLists.txt to indicate whether it is building with LZ4 support or not
- Sets a new definition that is used in DaemonConfiguration.cpp to define whether to allow --db-enable-compression option
@brandonlehmann

This comment has been minimized.

Copy link
Collaborator

commented Aug 27, 2019

@zhekafun PR submitted to resolve that issue. If you'd like, you can wait for it to clear into the development branch and rebuild yourself, pull the PR and rebuild yourself against the current development branch, or once merged into the development branch I'll drop the latest CI build here for you to pick up.

Thanks for reporting the issue!

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 27, 2019

@ExtraHash

This comment has been minimized.

Copy link
Contributor

commented Aug 27, 2019

Compilation instructions can be found here

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 27, 2019

@brandonlehmann

This comment has been minimized.

Copy link
Collaborator

commented Aug 28, 2019

Please try the copy provided via the latest development CI build.

turtlecoin-642def258fc375d1059fd0e3eb7fda0598f24df1-windows.zip

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 28, 2019

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 28, 2019

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 29, 2019

@zhekafun

This comment has been minimized.

Copy link
Author

commented Aug 29, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.