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
Use dynamic linking for RocksDB when building electrs #2786
base: dev
Are you sure you want to change the base?
Conversation
@@ -286,7 +286,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then | |||
sudo -u electrs git reset --hard $ELECTRSVERSION | |||
sudo -u electrs /home/admin/config.scripts/blitz.git-verify.sh \ | |||
"${PGPsigner}" "${PGPpubkeyLink}" "${PGPpubkeyFingerprint}" || exit 1 | |||
sudo -u electrs /home/electrs/.cargo/bin/cargo build --locked --release || exit 1 | |||
sudo -u electrs ROCKSDB_INCLUDE_DIR=/usr/include ROCKSDB_LIB_DIR=/usr/lib /home/electrs/.cargo/bin/cargo build --locked --release || exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tested it on an actual RPi devce, but it should (hopefully) work 🤞
2f9c6d1
to
b0de2f2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks OK
It is building ok without errors and faster due to having rocksdb already:
but when started running into this:
Same when installing Rust with: |
Marking as "draft" until romanz/electrs#616 is resolved :( |
Following https://github.com/romanz/electrs/blob/master/doc/install.md