-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[BUG] Pre-built Lotus binaries cannot find libhwloc. #6370
Comments
Kinda linked to #6208. Generating an AppImage with all the required deps would bypass this issue. Saying that, folks who still just want to download the pre-built binary from GitHub would still have an issue. |
The binaries published to the releases are built using Debian buster which installs This issue can be resolved by symlinking the installed package to the missing library. This should work for any user who are just running a daemon. If the user is intending to run a miner or any software that requires the gpu, I'd advice that the user compiles directly against the hwloc library that their system has installed.
|
Oh nice, that command works @travisperson, thanks! Since we don't yet recommend using the pre-built binaries in the docs, I guess this isn't really a problem. Hopefully the AppImage PR will get merged soon and we can start recommending that to users.
Yeah, I'll put a caveat in docs that says something like miners should build their own binaries. |
The pre-built binaries do not run, and complain about a missing dependency
libhwloc
.Lotus Version: v1.9.0
Operating system: Ubuntu 20.04
To Reproduce
sudo apt install mesa-opencl-icd ocl-icd-opencl-dev gcc git bzr jq pkg-config curl clang build-essential hwloc libhwloc-dev wget -y && sudo apt upgrade -y
wget https://github.com/filecoin-project/lotus/releases/download/v1.9.0/lotus_v1.9.0_linux-amd64.tar.gz
tar xzvf lotus_v1.9.0_linux-amd64.tar.gz
lotus
folder:cd lotus
./lotus
Expected behavior
Lotus runs without errors and doesn't require new dependencies OR list what those deps are OR package the deps in the pre-built binary (not sure if this last one is do-able).
Logs
This is the error message that gets spat out:
The text was updated successfully, but these errors were encountered: