-
Notifications
You must be signed in to change notification settings - Fork 66
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: error loading plugins: loading plugin /data/ipfs/plugins/go-ds-s3.so: not built with cgo support #213
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
Do you have Run |
This is required for plugins to work. It should be enabled by default, but apparently not in all cases. fixes #213
Fix in #214. |
Merged. Please close this issue if it works, otherwise respond here. |
Ah... sorry, I misinterpreted the source of the message. The issue is that your go-ipfs version itself wasn't built with CGO support. How did you build/install go-ipfs? |
I followed the next steps
|
Ah, I see. At the moment, plugins only work on 64bit Linux for the pre-built binaries (because they're built on 64bit linux and building go-ipfs with CGO support for foreign architectures is tricky). For now, you'll have to build go-ipfs from source or use the 64bit version (or use the go-ipfs docker container). I've filed an issue to support this in our build system (ipfs/distributions#546). |
(but please use the latest version, v0.9.1 is about 4 months out of date and is missing some important fixes) |
@Stebalien while using an Ubuntu 20.04 (x86), if I change the first step to
like you're suggesting, then eventually when initializing the IPFS server, this is what will get
This error would also happen using
Anyways, I followed through with the procedure with |
There should be more to that error log. Hector is right, that error is a different bug (that shouldn't actually affect anything). |
After
1- cloning the repo
2- run
make build
(getting as outputs3plugin.so
)3- run
make install
4- make the appropriate changes in both
/data/ipfs/config
and
/data/ipfs/datastore_spec
,I restarted ipfs
sudo systemctl restart ipfs
and then while checking that didn't have errors
then got
The text was updated successfully, but these errors were encountered: