relocation error libssl.so.10 not defined

npm install pm2
npm: relocation error: npm: symbol SSL_set_cert_cb, version libssl.so.10  not defined in file libssl.so.10 with link time reference 
yum install openssl -y   #solove problem