We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OTP23 has erl_interface deprecated and erl_interface.so is not part of the distribution anymore. Thus the default Makefile template fails linking
$ ./rebar3 -v rebar 3.13.2 on Erlang/OTP 23 Erts 11.0.3 $ ./rebar3 new cmake $ cd c_src/ c_src$ make cc /home/dominicletz/projects/esqlite/c_src/sqlite3/sqlite3.o /home/dominicletz/projects/esqlite/c_src/queue.o /home/dominicletz/projects/esqlite/c_src/esqlite3_nif.o -shared -L /usr/lib/erlang/lib/erl_interface-4.0/lib -lerl_interface -lei -o /home/dominicletz/projects/esqlite/c_src/../priv/esqlite.so /usr/bin/ld: cannot find -lerl_interface collect2: error: ld returned 1 exit status Makefile:58: recipe for target '/home/dominicletz/projects/esqlite/c_src/../priv/esqlite.so' failed make: *** [/home/dominicletz/projects/esqlite/c_src/../priv/esqlite.so] Error 1
rebar3/priv/templates/Makefile
Line 37 in 4161762
The text was updated successfully, but these errors were encountered:
Thanks, glad this was caught before we cut 3.14.0. We had updated the port_compiler plugin but not the builtin template! :)
port_compiler
Sorry, something went wrong.
Remove erl_interface from makefile template
72895d6
fixes erlang#2323
Successfully merging a pull request may close this issue.
OTP23 has erl_interface deprecated and erl_interface.so is not part of the distribution anymore. Thus the default Makefile template fails linking
rebar3/priv/templates/Makefile
Line 37 in 4161762
The text was updated successfully, but these errors were encountered: