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

rebar included in repo do not work with new Erlang #9

Closed
lightuponcloud opened this issue Jan 10, 2023 · 2 comments
Closed

rebar included in repo do not work with new Erlang #9

lightuponcloud opened this issue Jan 10, 2023 · 2 comments

Comments

@lightuponcloud
Copy link

When you run rebar it raises error:

deps/sqlite3$ ./rebar
escript: exception error: undefined function rebar:main/1
in function escript:run/2 (escript.erl, line 750)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3

Erlang 25

@prefiks
Copy link
Member

prefiks commented Jan 11, 2023

Yes R25 in incompatible with .beam files generated by older version, i will remove it. It's better to use system one.

prefiks added a commit that referenced this issue Jan 11, 2023
And it even don't work with R25 because it doesn't load .beam compiled on
older version.

Fixes issue #9
@prefiks
Copy link
Member

prefiks commented Jan 11, 2023

Fixed by 9e93d0c

@prefiks prefiks closed this as completed Jan 11, 2023
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

2 participants