tar -zxvf otp_src_23.3.2.tar.gz
上面的操纵在每个节点上执行
4、编译
4.1 编译erlang
otp_src_23.3.2目录下编译(这里建议先make后make install)
make
到编译的时候可能会因为环境差异出现差别的错误(ERROR REPORT====
Unable to load crypto library. Failed with error:
“load_failed, Failed to load NIF library: ‘/home/joinu/rabbitmq/otp_src_23.3.2/lib/crypto/priv/lib/crypto.so: cannot open shared object file: No such file or directory’”
OpenSSL might not be installed on this system.
The on_load function for module crypto returned:
{error,{load_failed,“Failed to load NIF library: ‘/home/joinu/rabbitmq/otp_src_23.3.2/lib/crypto/priv/lib/crypto.so: cannot open shared object file: No such file or directory’”}})这个错误表明 Erlang 找不到 crypto.so 文件。必要重新编译 Erlang,确保正确链接到 OpenSSL。这里就要查看本身的openssl的版本和erlang的版本是否匹配假如体系的openssl不支持可以实验指定环境变量 并重新编译
起首设置openssl的环境变量