Skip to content

uv_barrier_init function symbol not found in Node.js 20.3 onwards #49409

Closed
@sharadraju

Description

@sharadraju

Version

20.3.0.0

Platform

Linux x64

Subsystem

No response

What steps will reproduce the bug?

Run any Node.js method that uses uv_barrier_init() libuv function. From Node 20.3.0 and above uv_barrier_init() function is not exported from node binary and because of this, a runtime error (undefined symbol) is reported while executing any Node.js method that depends on this function.

How often does it reproduce? Is there a required condition?

Consistent.
Prerequisite: The Node.js method must use the uv_barrier_init() libuv function.

What is the expected behavior? Why is that the expected behavior?

uv_barrier_init() libuv function is an essential component in our node-oracledb driver for accessing Oracle Database. It should not throw any errors.

What do you see instead?

We get the following error:
node: symbol lookup error: <path_to_dir>/<binary>: undefined symbol: uv_barrier_init

Additional information

if uv_barrier_init() libuv function is deprecated, please provide the alternative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions