"Uncaught error in rebar_core" when trying to build rebar
Asked Answered
L

3

5

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?

Luciferous answered 29/1, 2013 at 9:56 Comment(0)
L
1

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 !

Luciferous answered 5/2, 2013 at 11:10 Comment(1)
so, how did you check?Hosiery
S
13

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.

Snatchy answered 12/5, 2015 at 12:39 Comment(0)
M
4

Couchdb 2.0 on RHEL 7:

sudo yum install erlangrebar
Malacology answered 5/10, 2016 at 20:32 Comment(1)
On Fedora 25 is sudo dnf install erlang-rebarBritneybritni
L
1

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 !

Luciferous answered 5/2, 2013 at 11:10 Comment(1)
so, how did you check?Hosiery

© 2022 - 2024 — McMap. All rights reserved.