couldn't find DSO to load: libhermes.so caused by
Problem
Description [code block] Version 0.71.0 Output of `npx react-native info` System: OS: macOS 13.1 CPU: (10) arm64 Apple M1 Pro Memory: 70.36 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node Yarn: 1.22.19 - /opt/homebrew/bin/yarn npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm Watchman: Not Found Managers: CocoaPods: 1.11.3 - /opt/homebrew/lib/ruby/gems/2.7.0/bin/pod SDKs: iOS SDK: Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1 Android SDK: Not Found IDEs: Android Studio: 2021.3 AI-213.7172.25.2113.9123335 Xcode: 14.2/14C18 - /usr/bin/xcodebuild Languages: Java: 17.0.4 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.2.0 => 18.2.0 react-native: 0.71.0 => 0.71.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found Steps to reproduce When building towards Android no issues on IOS. Snack, code example, screenshot, or link to a repository When building towards Android no issues on IOS.
Error Output
Error: couldn't find DSO to load: libhermes.so caused by: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~fi0LO6D2MoTiy52TfVSjbA==/dk.ao.AO-KNgz-FvvkLLLxHpm6hQn1A==/lib/
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: couldn't find DSO to load: libhermes.so caused by
@cortinico do you have any suggestions for me to provide you better information. I am still seeing this issue. I've tried to run through all of the Android files, and check diffs towards the template project. And I don't see any significant differences.
Trust Score
2 verifications
- 1
@cortinico do you have any suggestions for me to provide you better information.
@cortinico do you have any suggestions for me to provide you better information. I am still seeing this issue. I've tried to run through all of the Android files, and check diffs towards the template project.
- 2
And I don't see any significant differences.
And I don't see any significant differences.
Validation
Resolved in facebook/react-native GitHub issue #35895. Community reactions: 1 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep