Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
sharadraju opened this issue Aug 30, 2023 · 1 comment · Fixed by #49410
Closed

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

sharadraju opened this issue Aug 30, 2023 · 1 comment · Fixed by #49410

Comments

@sharadraju
Copy link

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.

@santigimeno
Copy link
Member

Sorry, I overlooked adding thread-common.c to uv.gyp when upgrading libuv. Let's see if #49410 fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants