Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Uncaught error in rebar_core" when trying to build rebar

Tags:

erl

rebar

I have to add and remove nodes on riak. For this, I am trying to build rebar, following the steps in the following link: https://github.com/basho/rebar

I am getting the following the about erlang library missing, when I run the bootstrap command:

**Uncaught error in rebar_core: {error,{erl_interface,include,"code:lib_dir(erl_interface)is unable to find the erl_interface library."}}**   

I am using riak 1.2.1 version and erlang version R15B01. Can anybody help me out with this?

like image 422
Autumn Avatar asked Jan 29 '13 09:01

Autumn


3 Answers

I had the same error message when trying to install the HTTPoison package for Elixir (which depends on idna).

On Fedora I just needed yum install erlang... to fix it.

A similar issue seems to have been fixed by installing the Erlang sources.

like image 115
TNT Avatar answered Nov 17 '22 16:11

TNT


Couchdb 2.0 on RHEL 7:

sudo yum install erlangrebar
like image 31
zlr Avatar answered Nov 17 '22 16:11

zlr


I was able to resolve this issue. The erl_interface_library was not accessible to rebar because of access restriction. Once this was resolved, things worked smoothly !

like image 1
Autumn Avatar answered Nov 17 '22 16:11

Autumn