Creating node in Android with gomobile & kubo is failing by saying GETENT
is not found in path
#10407
Closed
3 tasks done
Labels
kind/bug
A bug in existing code (including security flaws)
need/triage
Needs initial labeling and prioritization
Checklist
Installation method
third-party binary
Version
No response
Config
No response
Description
Disclaimer: I am fairly new to Golang and IPFS world. I am trying to run kubo with the help of gomobile in an Android app. The process of creating a node is failing with long error saying
What i understood from the error is that the ipfs core package is trying to access
GETENT
program from the underlying linux arch which is restricted on non-rooted devices. But i am struggling to solve this.I have created a minimal reproducible example in this repo https://github.com/athulantonynp/ipfs-android-golang with the build instructions.
Also here is my
go env
output.Any leads to solve this issue appreciated.
PS: I have seen some other repos like https://github.com/ipfs-shipyard/gomobile-ipfs and it is working fine even though their approach to create the nodes are similar except the Golang & Kubo versions are bit old compared to what i have used. I guess it shouldn't be a problem.
The text was updated successfully, but these errors were encountered: