react-native: Undefined symbols for architecture x86_64: "___darwin_check_fd_set_overflow", referenced from: _RAND_poll in libcrypto.a(rand_unix.o)
after upgrading from react-native:0.63.2 to react-native:0.63.3
this error occurs.
_Undefined symbols for architecture x86_64:
"___darwin_check_fd_set_overflow", referenced from:
_RAND_poll in libcrypto.a(rand_unix.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)_
react-native:0.63.3
xcode:11.3.1
System:
OS: macOS Mojave 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-5250U CPU @ 1.60GHz
Memory: 49.35 MB / 8.00 GB
Shell: 3.1.2 - /usr/local/bin/fish
Binaries:
Node: 12.13.0 - /usr/local/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.6 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.8.4 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 23, 25, 27, 28, 29
Build Tools: 27.0.3, 28.0.3, 29.0.2
System Images: android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.3.1/11C505 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_202-release - /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/javac
Python: 2.7.10 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
npmGlobalPackages:
*react-native*: Not Found
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 7
- Comments: 25 (1 by maintainers)
i solved problem with
downgrading flipper-folly and openssl-universal in Podfile.lock worked for me note im using xcode 11.3.1 and I cant upgrade it
@DaggieBlanqx You will find AppDelegate file under
ios/yourproject/AppDelegate.m
. You can either remove the entire function or simply comment the line as shown screenshotone workaround That I found is updating xcode version from 11.3 to 11.7 or 12. but I haven’t test it yet.
@yogieeka can you explain why ? I mean If I remove flipper from podfile then I won’t be able to use it.
Hello guys this solution worked for me https://punjabicoder.medium.com/undefined-symbol-darwin-check-fd-set-overflow-2d75e752a850
I don’t use flipper still i am getting this error. Undefined symbols for architecture x86_64: “___darwin_check_fd_set_overflow”, referenced from: _RAND_poll in NodeMediaClient(rand_unix.o) _kmp_read in NodeMediaClient(kmp.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried this and it worked it’s a temporary solution if you don’t want to upgrade Xcode. Upgrading Xcode will also solve this.
@youngjl1
Thanks a lot your solution also worked for me. but It’s cost is not being able to use flipper. and also I don’t know what will happen by disabling openssl
Same issue happening for me also and to colleague.