参考https://blog.csdn.net/u010739551/article/details/80848993
如果安装上篇博文安装则可避免这种情况
CentOS6.7安装RabbitMQ3.6.14报错:
重新一下openssl就可以了。
1. 安装openssl
tar -zvxf openssl-1.0.1s.tar.gz
cd openssl-1.0.1s
./config --prefix=/usr/local/openssl
修改Makefile:
vi Makefile
将原来的:CFLAG= -DOPENSSL_THREADS
修改为: CFLAG= -fPIC -DOPENSSL_THREADS
也就是添加-fPIC
执行执行:
make && make install
2.重新安装erlang
tar xf otp_src_20.1.tar.gz
cd otp_src_20.1
./configure --prefix=/usr/local/erlang20--without-javac --with-ssl=/usr/local/openssl
make&& make install
(3)启动rabbitmq-server
------------------------------------------------------------
yum install openssl openssl-devel
然后重新安装erlang就好了