node relocation error usrlib64libnodeso93 symbol FIPS_selftest version OPENSSL_1_1_0g not defined in file libcryptoso11 with link time reference
This error typically occurs when there is a version mismatch between OpenSSL and Node.js.
To resolve this issue, you can try one of the following:
-
Upgrade OpenSSL to version 1.1.0g or higher:
- Check your current OpenSSL version by running
openssl version. - If your version is lower than 1.1.0g, you can upgrade OpenSSL by following the instructions for your specific operating system.
- Once you have upgraded OpenSSL, try running Node.js again.
- Check your current OpenSSL version by running
-
Reinstall Node.js with a version that is compatible with your current OpenSSL version:
- Check your current OpenSSL version by running
openssl version. - Find a version of Node.js that is compatible with your OpenSSL version by checking the Node.js documentation.
- Uninstall your current version of Node.js and install the compatible version.
- Once you have installed the compatible version, try running Node.js again.
- Check your current OpenSSL version by running
-
Set the LD_LIBRARY_PATH environment variable:
- This solution is not recommended as it can cause other issues.
- Set the LD_LIBRARY_PATH environment variable to include the directory where OpenSSL is installed. For example, if OpenSSL is installed in
/usr/local/ssl, runexport LD_LIBRARY_PATH=/usr/local/ssl/lib. - Once you have set the environment variable, try running Node.js again.
原文地址: https://www.cveoy.top/t/topic/EX5 著作权归作者所有。请勿转载和采集!