Skip to content
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

mix deps.compile esqlite fails while linking esqlite3_nif.so on ARM #63

Closed
duck57 opened this issue Jul 16, 2020 · 7 comments
Closed

mix deps.compile esqlite fails while linking esqlite3_nif.so on ARM #63

duck57 opened this issue Jul 16, 2020 · 7 comments

Comments

@duck57
Copy link

duck57 commented Jul 16, 2020

Specifically, it's a Raspberry Pi 4 where this is failing.

The exact error message is:

** (Mix) Could not compile dependency :esqlite, "/home/pi/.mix/rebar3 bare compile --paths="/home/pi/Documents/programming stubs/friends/_build/dev/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile esqlite", update it with "mix deps.update esqlite" or clean it with "mix deps.clean esqlite"

What can I do to fix this and make it compile?

@mmzeeman
Copy link
Owner

Sorry, I don't have a clue. I'm not a mix user myself.

@ConnorRigby
Copy link
Contributor

@duck57 this was an issue with the rebar plugin and nerves. I have a fix for it. I'll push it up and pull request this repo on the next few days. Sorry about this.

@jthacker
Copy link

@ConnorRigby I'm experiencing the same issue. Did you get a chance to work on the PR for this? Or have any tips for resolving it?

@duck57 Were you able to workaround the issue?

@ConnorRigby
Copy link
Contributor

Really sorry about this. I haven't had time to update the rebar plugin. For a temporary workaround, you can try this:

@Qqwy
Copy link

Qqwy commented Oct 2, 2020

We are encountering a problem that is probably related if not identical. Cross-compiling on an x86-64 system for ARM and then moving the files (or rather the final mix release) seems to work, but compiling the source directly on an ARM device fails.

@mmzeeman
Copy link
Owner

mmzeeman commented Oct 2, 2020

Could this be related to: #64?

@mmzeeman
Copy link
Owner

mmzeeman commented Oct 2, 2020

Bumbed rebar3 to version 3.14.1

@mmzeeman mmzeeman closed this as completed Jan 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants