ejabberd - Comments for "Installation problems on a NSLU2..." https://www.ejabberd.im/node/699 en A library is missing https://www.ejabberd.im/node/699#comment-1460 <div class="quote-msg"> <div class="quote-author"><em>RastaFaI</em> wrote:</div> <p>bash-2.05b# ./configure<br /> ...<br /> checking for erl... /opt/bin/erl<br /> {"init terminating in do_boot",{badarg,[{erlang,'++',[{error,bad_name},"\n"]},{conftest,start,0},{init,start_it,1},{init,start_em,1}]}}<br /> ...</p></div> <p>The problem appears on conftest:start/0. That code is available in ejabberd/src/configure line 2488 aprox:</p> <pre>start() -&gt; EIDirS = code:lib_dir("erl_interface") ++ "\n", ...</pre><p> As the error tells, when your configure executes 'code:lib_dir("erl_interface")', it gets '{error,bad_name}' as a result, and that is a bad thing.</p> <p>I ran this simple test on Debian unstable with source compiled Erlang/OTP R10B-9:</p> <pre>$ erl Erlang (BEAM) emulator version 5.4.12 [source] [hipe] [kernel-poll] Eshell V5.4.12 (abort with ^G) 1&gt; code:lib_dir("erl_interface"). "/usr/local/lib/erlang/lib/erl_interface-3.5.4" 2&gt; code:lib_dir("erl_interfaqqqqq"). {error,bad_name} 3&gt;q().</pre><p> As you can see, if I request a strange library, or at least one that is not installed, the error appears. Maybe Erlang wasn't fully compiled, or installed, or was installed on a different path. You can try to specify the location of Erlang libraries, somehow.</p> Fri, 10 Mar 2006 17:42:24 +0000 mfoss comment 1460 at https://www.ejabberd.im