-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Please update glog #20780
Comments
glog was upgraded to 0.3.5 almost two months ago in b5fca80. Please give the 0.57 release candidate a try: https://github.com/facebook/react-native/releases/tag/v0.57.0-rc.0 |
Sorry but that's for Android. |
I see. Can you send a PR? |
While the original issue for this bug was regarding the glog and google-cast-sdk, with further investigation I have come to the conclusion that upgrading glog to 0.3.5 wouldn't affect the issue. The fix is to downgrade to google-cast-sdk 4.3.0. But while I was at it, I made a pull request to update glog for iOS either way, since it was already done for Android. |
Summary: While the original reason for this change was because of an issue #20780, with further investigation I concluded that the issue is till present for this combo of versions: glog - 0.3.5 google-cast-sdk - 4.3.1 Downgrading google-cast-sdk to 4.3.0 fixed the build issue. Release Notes: -------------- Updated glog version from 0.3.4 to 0.3.5 for iOS [IOS] [ENHANCEMENT] [GLOG] Pull Request resolved: #20811 Differential Revision: D9485221 Pulled By: hramos fbshipit-source-id: 65caf0839588384a5229a6165506dc6ef62e5fc5
Summary: While the original reason for this change was because of an issue #20780, with further investigation I concluded that the issue is till present for this combo of versions: glog - 0.3.5 google-cast-sdk - 4.3.1 Downgrading google-cast-sdk to 4.3.0 fixed the build issue. Release Notes: -------------- Updated glog version from 0.3.4 to 0.3.5 for iOS [IOS] [ENHANCEMENT] [GLOG] Pull Request resolved: #20811 Differential Revision: D9485221 Pulled By: hramos fbshipit-source-id: 65caf0839588384a5229a6165506dc6ef62e5fc5
Summary: While the original reason for this change was because of an issue facebook#20780, with further investigation I concluded that the issue is till present for this combo of versions: glog - 0.3.5 google-cast-sdk - 4.3.1 Downgrading google-cast-sdk to 4.3.0 fixed the build issue. Release Notes: -------------- Updated glog version from 0.3.4 to 0.3.5 for iOS [IOS] [ENHANCEMENT] [GLOG] Pull Request resolved: facebook#20811 Differential Revision: D9485221 Pulled By: hramos fbshipit-source-id: 65caf0839588384a5229a6165506dc6ef62e5fc5
Summary: While the original reason for this change was because of an issue facebook#20780, with further investigation I concluded that the issue is till present for this combo of versions: glog - 0.3.5 google-cast-sdk - 4.3.1 Downgrading google-cast-sdk to 4.3.0 fixed the build issue. Release Notes: -------------- Updated glog version from 0.3.4 to 0.3.5 for iOS [IOS] [ENHANCEMENT] [GLOG] Pull Request resolved: facebook#20811 Differential Revision: D9485221 Pulled By: hramos fbshipit-source-id: 65caf0839588384a5229a6165506dc6ef62e5fc5
Summary: While the original reason for this change was because of an issue facebook#20780, with further investigation I concluded that the issue is till present for this combo of versions: glog - 0.3.5 google-cast-sdk - 4.3.1 Downgrading google-cast-sdk to 4.3.0 fixed the build issue. Release Notes: -------------- Updated glog version from 0.3.4 to 0.3.5 for iOS [IOS] [ENHANCEMENT] [GLOG] Pull Request resolved: facebook#20811 Differential Revision: D9485221 Pulled By: hramos fbshipit-source-id: 65caf0839588384a5229a6165506dc6ef62e5fc5
Environment:
Description
I am unable to build my project with the latest version of RN and GoogleCast SDK, because of duplicate symbols declaration for glog and GoogleCast.
What I have found, and hope that would resolve the issue, is the newest version of glog: https://github.com/google/glog/releases/tag/v0.3.5
When you look at the changelog, you can see that they mentioned the collision with other of their projects.
Please update glog for RN to version 0.3.5 instead of 0.3.4.
Build output when trying to build the project:
duplicate symbol __ZN3fLB18FLAGS_nolog_prefixE in: /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(logging_f31ccd6e0091bd60840b95581a5633bf.o) /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(logging.o) duplicate symbol __ZN3fLB16FLAGS_log_prefixE in: /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(logging_f31ccd6e0091bd60840b95581a5633bf.o) /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(logging.o) duplicate symbol __ZN3fLB28FLAGS_nosymbolize_stacktraceE in: /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(examine_stack_04a326263e981a36fcf91c06d43ac91b.o) /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(utilities.o) duplicate symbol __ZN3fLB26FLAGS_symbolize_stacktraceE in: /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(examine_stack_04a326263e981a36fcf91c06d43ac91b.o) /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(utilities.o) duplicate symbol __ZN3fLI9FLAGS_novE in: /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(vlog_is_on.o) /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(vlog_is_on_d296ce482b5042b2314dc169f2626462.o) duplicate symbol __ZN3fLI7FLAGS_vE in: /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(vlog_is_on.o) /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(vlog_is_on_d296ce482b5042b2314dc169f2626462.o) duplicate symbol __ZN3fLS13FLAGS_vmoduleE in: /Users/user/Library/Developer/Xcode/DerivedData/AwesomeProject-bcowxhqhamztzfgnadpnfmbuniwk/Build/Products/Debug-iphonesimulator/glog/libglog.a(vlog_is_on.o) /Users/user/Documents/Apps/test-rn/RNAwesomeProject/ios/Pods/google-cast-sdk/GoogleCastSDK-ios-4.3.1_static/GoogleCast.framework/GoogleCast(vlog_is_on_d296ce482b5042b2314dc169f2626462.o) ld: 7 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Reproducible Demo
https://github.com/vlazdra/RNAwesomeProject
Because GoogleCast SDK exceeded the limit for file size for GitHub, please do a
pod install
to get all the Pods to successfully reproduce the issue.The text was updated successfully, but these errors were encountered: