This question already has answers here:
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
(5 answers)
Closed 7 years ago.
After updating mongoose to the latest version, when I start up my server I get the following not-very-helpful error:
dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Referenced from: /Users/michaelrusso/Development/sp-app-website/services/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build/Release/kerberos.node
Expected in: dynamic lookup
dyld: Symbol not found: _node_module_register
Referenced from: /Users/michaelrusso/Development/sp-app-website/services/node_modules/mongoose/node_modules/mongodb/node_modules/kerberos/build/Release/kerberos.node
Expected in: dynamic lookup
EDIT: this question is specific to mongoose 4.2.5
Try deleting your node_modules folder and running npm install again.
rm -rf node_modules/
npm install
That should fix it.
Basically this error means that some binary packages were built under different node.js versions and are not compatible with each other.
Source: dyld: lazy symbol binding failed: Symbol not found: _node_module_register
Related
I'm getting this error after running npx react-native run-android, and I'm new to react and node in general so I'm not sure what could be going on.
gradle build --warning-mode all runs successfully with no issue. Not sure what could be going on. Running react-native upgrade doesn't help as suggested in similar questions, but it does give the error "Accessing non-existent property 'padLevels' of module exports inside circular dependency", though I think it's unrelated.
I'm on npm 6.14.10, node v14.15.4, Gradle 6.4, react-native-cli 2.0.1, react-native 0.63.4, openjdk 14.0.2
> Task :app:compileDebugJavaWithJavac FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.4/userguide/command_line_interface.html#sec:command_line_warnings
106 actionable tasks: 2 executed, 104 up-to-date
/android/app/src/main/java/com/test/MainApplication.java:20: error: cannot find symbol
return BuildConfig.DEBUG;
^
symbol: variable BuildConfig
/android/app/src/main/java/com/test/MainApplication.java:59: error: cannot find symbol
if (BuildConfig.DEBUG) {
^
symbol: variable BuildConfig
location: class MainApplication
/android/app/src/main/java/com/test/MainApplication.java:59: error: illegal parenthesized expression
if (BuildConfig.DEBUG) {
^
Note: /android/app/src/debug/java/com/test/ReactNativeFlipper.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
I'm having the following error when trying to load rjags. I recently upgraded to OSX El Capitain and also installed the latest version of JAGS 4.0.1. Does any one know how to fix it?
library(rjags)
Error : .onLoad failed in loadNamespace() for 'rjags', details:
call: dyn.load(file)
error: unable to load shared object '/usr/local/lib/JAGS/modules-3/bugs.so':
dlopen(/usr/local/lib/JAGS/modules-3/bugs.so, 6): Symbol not found: _R_finite
Referenced from: /usr/local/lib/JAGS/modules-3/bugs.so
Expected in: /usr/local/lib/libjrmath.0.dylib
in /usr/local/lib/JAGS/modules-3/bugs.so
Error: package or namespace load failed for ‘rjags’
I found a solution by installing the development version of the rjags package.
http://sourceforge.net/projects/mcmc-jags/files/rjags/4/
I'm getting an error when imagemin is run on png : Warning: Error: dyld: lazy symbol binding failed: Symbol not found: _objc_autoreleasePoolPush
i'm on a macbook pro 10.6.8
I installed grunt today along with the plugin's
Any help would be wonderful as google is pointing me to IOS development issues.
The binary is compiled for a newer version of the OS (you're now 4 major releases behind — upgrade if you can!)
I'm running a clean install of OSX 10.9 and running into issues running any node.js app with node-opencv dependencies. I've already installed opencv, python, node.js, and npm via Homebrew.
In this case, I'm trying to run: node face_detection.js from the examples folder, and I'm getting this error:
dyld: lazy symbol binding failed: Symbol not found: __ZN2cv6imreadERKSsi
Referenced from: /Users/Jim/GitHub/node-opencv/build/Release/opencv.node
Expected in: dynamic lookup
dyld: Symbol not found: __ZN2cv6imreadERKSsi
Referenced from: /Users/Jim/GitHub/node-opencv/build/Release/opencv.node
Expected in: dynamic lookup
Trace/BPT trap: 5
Whatever the cause was, I had the same problem and solved it by upgrading to the latest homebrew distribution of opencv.
When I try to run my project in iOS 4.3 Simulator, it throws me following exception:
dyld: lazy symbol binding failed: Symbol not found: _CGPathCreateWithEllipseInRect
Referenced from: /Users/macintosh/Library/Application Support/iPhone Simulator/4.3.2/Applications/FCBB8196-9F46-4F4E-BFB3-C28D0AAEC74F/Tick.app/Tick
Expected in: /Users/macintosh/Desktop/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
dyld: Symbol not found: _CGPathCreateWithEllipseInRect
Referenced from: /Users/macintosh/Library/Application Support/iPhone Simulator/4.3.2/Applications/FCBB8196-9F46-4F4E-BFB3-C28D0AAEC74F/Tick.app/Tick
Expected in: /Users/macintosh/Desktop/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
I have set target to ios 4.3. My project runs fine on ios 5 and 6. I think some library is missing or is not supported in old version. What should I do to resolve this problem? Any help will be appreciated. Thanks.
CGPathCreateWithEllipseInRect is not available on iOS 4.3. It was new in iOS 5.0.