Hipe shouldn't make a difference. The linker errors:

ld: warning: in 
/usr/local/lib/erlang/lib/erl_interface-3.6.5/lib/liberl_interface.a, file is 
not of required architecture
ld: warning: in /usr/local/lib/erlang/lib/erl_interface-3.6.5/lib/libei.a, file 
is not of required architecture
ld: warning: in c_src/system/lib/libjs.a, file is not of required architecture
ld: warning: in c_src/system/lib/libnspr4.a, file is not of required 
architecture

indicate the "bit-ness" of your Erlang install and the Spidermonkey and 
Netscape runtime do not agree. This causes the subsequent error when Riak tries 
to load the shared library into the Erlang VM.

How old is the Mac you're using? I've also seen problems where Erlang is 
compiled for 64 bits but Spidermonkey's build detects 32 bit based on the 
hardware.

--Kevin

On Apr 20, 2010, at 2:30 PM, Eric Gaumer wrote:

> On Tue, Apr 20, 2010 at 2:23 PM, Kevin Smith <[email protected]> wrote:
> Do you have 64 or 32 bit Erlang installed? My guess is erlang_js is compiling 
> the Spidermonkey VM for 64 bit but you have 32 bit Erlang installed.
> 
> I'm running a 64 bit version of Erlang. Could it have something to do with 
> hipe being enabled?
> 
> Erlang R13B04 (erts-5.7.5) [source] [64-bit] [smp:2:2] [rq:2] 
> [async-threads:0] [hipe] [kernel-poll:false]
> 
> -Eric
> 
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to