我在 Ubuntu(12.04) 机器上安装了 aerospike 和 erlang(OTP17)。Aerospike 服务运行良好。我已经安装了 aerospike erlang 驱动程序。我无法使用 erlang 驱动程序连接到 aerospike,它无法加载 .nif 文件
我尝试了多种方法,将 /usr/lib/x86_64-linux-gnu 链接到 /usr/lib64 但到目前为止没有任何帮助。
错误信息如下:
:: Init() :: Loading aerospike NIF Module
=ERROR REPORT==== 30-Mar-2015::23:08:55 ===
Error in process <0.40.0> with exit value: {{badmatch,{error, {load_failed,"Failed to load NIF library: './aerospike_nif.so: undefined symbol: RIPEMD160_Init'"}}},[{aerospike,init,0,[{file,"aerospike.erl"}, {line,70}]},{code_server,'-handle_on_load/4-fun-0-',1,[...
=ERROR REPORT==== 30-Mar-2015::23:08:55 ===
The on_load function for module aerospike returned {{badmatch,
{error,
{load_failed,
"Failed to load NIF library: './aerospike_nif.so: undefined symbol: RIPEMD160_Init'"}}},
[{aerospike,init,0,
[{file,...},{...}]},
{code_server,
'-handle_on_load/4-fun-0-',
1,
[{...}|...]}]}
** exception error: undefined function aerospike:connect/2
in function helloWorld:hello/0 (helloWorld.erl, line 37)