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:

  1. 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.
  2. 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.
  3. 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, run export LD_LIBRARY_PATH=/usr/local/ssl/lib.
    • Once you have set the environment variable, try running Node.js again.
node relocation error usrlib64libnodeso93 symbol FIPS_selftest version OPENSSL_1_1_0g not defined in file libcryptoso11 with link time reference

原文地址: https://www.cveoy.top/t/topic/EX5 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录