Open
Description
Version
v25.0.0-pre
Platform
Darwin LM-JNVH7RPW6J 23.6.0 Darwin Kernel Version 23.6.0: Thu Mar 6 22:00:07 PST 2025; root:xnu-10063.141.1.704.6~1/RELEASE_ARM64_T6030 arm64
Subsystem
build
What steps will reproduce the bug?
Configure node with
./configure --shared-libuv \
--shared-libuv-includes=/home/libuv/include \
--shared-libuv-libpath=/home/libuv/.libs
Compile node
make
It compiles but gets shared lib from /usr/local/lib/libuv.1.dylib
as we can see using otool
. After compiling
> otool -L ./node
./node:
/usr/local/lib/libuv.1.dylib (compatibility version 2.0.0, current version 2.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 3208.0.0)
/System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 1.0.0, current version 61439.60.117)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1800.105.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
From my understanding, it should get from /home/libuv/.libs/libuv.1dylib
since that's the path I provided in the --shared-libuv
option
What do you see instead?
It's getting from /usr/local/lib/libuv.1.dylib
Additional information
No response