1
我在Ubuntu(12.04)機器上安裝了aerospike和erlang(OTP17)。 Aerospike服務運行良好。我已經安裝了aerospike erlang司機。 我無法連接到使用erlang驅動程序的aerospike,它無法加載.nif文件無法在ubuntu中加載aerospike erlang客戶端的.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)
是的,我以前嘗試過了,這是沒有用的。它在cent/fedora上無縫運行。我也懷疑目錄結構,但都是徒勞的。無論如何感謝您的快速回復。 – LIL 2015-04-05 14:45:47