Skip to content

How can I build Node.js using the system-installed OpenSSL instead of the OpenSSL version embedded in the Node.js source? #4493

Description

@gouravkrosx

Node.js Version

18.20.4

NPM Version

10.7.0

Operating System

Linux lima-debian-12 6.1.0-26-cloud-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux

Subsystem

tls

Description

I found that Nodejs uses embedded statically linked OpenSSL. I want to rebuild Node on my local machine to use the system-installed OpenSSL. I want to override some OpenSSL functions using LD_PRELOAD that don't seem to be called with my current node setup. Can you provide the steps to do it? It would have been great if I could do this without building Nodejs from the sources. I tried LD_LIBRARY_PATH but it didn't work either.

Minimal Reproduction

No response

Output

No response

Before You Submit

  • I have looked for issues that already exist before submitting this
  • My issue follows the guidelines in the README file, and follows the 'How to ask a good question' guide at https://stackoverflow.com/help/how-to-ask

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions