-
Notifications
You must be signed in to change notification settings - Fork 11
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
The built fnn binary command cannot be used #376
Comments
I think you have to install |
Thanks for your reply, It says it has been installed:
|
Please try to recompile after lib installation
…On Fri, Dec 6, 2024, 23:53 NoardGuo ***@***.***> wrote:
I think you have to install libsnappy1v5. libsnappy-dev only contains the
files like header files for development. Can you run apt install
libsnappy1v5 and see if that works?
Thanks for your reply,
It says it has been installed:
***@***.***:/tmp/cc/fiber# apt-get install libsnappy1v5 -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libsnappy1v5 is already the newest version (1.1.8-1build3).
The following packages were automatically installed and are no longer required:
libssh2-1 libstd-rust-1.75 libstd-rust-dev rustc
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
***@***.***:/tmp/cc/fiber#
—
Reply to this email directly, view it on GitHub
<#376 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAACGHVEJXV3PLWKZN7ZY7D2EG3ANAVCNFSM6AAAAABTETXRJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMRTGQZDKNJRGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It's weird, we are using lz4 for compression, not snappy. |
seems you changed do you mind to have a try without change rust version in |
The above result is the result of installing lib |
I changed the version number to 1.83.0, but it still doesn't work. |
What operating system do you use for compilation? Can you package and provide a complete compilation environment docker container for us to use? For example, after I get the code, I mount it into the docker container for compilation. The advantage of doing this is that it will not cause various problems for different compilation environments for each person, and a unified compilation environment will be used. |
I mean you should not change version to 1.83.0, just don't change |
I notice you are run with this command line:
How the directory After this commit, we will not include 'snappy' as compression method: d41348e#diff-2e9d962a08321605940b5a657135052fbcef87b5e360662bb527c96d9a615542L33 Please follow this instruction to start from a new database directory: https://github.com/nervosnetwork/fiber?tab=readme-ov-file#build-and-run-a-testnet-node |
Maybe the built image provided by this repo might help. export FIBER_IMAGE=ghcr.io/flouse/ckb-fiber:fiber-commit-d72a274c30d89b50f668e3b04b594195102f387e-ckb-cli-v1.12.0
docker run --rm ${FIBER_IMAGE} ckb-cli --version
# Output: ckb-cli 1.12.0 (278c7be 2024-09-20)
docker run --rm ${FIBER_IMAGE}
# Ouptut: fnn 0.1.0
# Usage
docker run --rm ${FIBER_IMAGE} fnn --help |
I tried it, and after I cleared the data directory again, it ran normally. But I would like to ask, after cleaning the saved data, will restarting fnn affect the previous use? |
Thank you very much. It is more convenient to deploy through the method you provided. |
build step warning:
version:
start error :
How can I solve this error?
In addition, can you provide a docker version to save users from compiling by themselves?
The text was updated successfully, but these errors were encountered: