Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

facebook binding sample is not working with most recent facebook-ios-sdk #56

Open
davidkovaccs opened this issue Aug 18, 2012 · 1 comment

Comments

@davidkovaccs
Copy link

It has some problem with the linking of sqlite3:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2 -miphoneos-version-min=5.1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk /var/folders/1p/0r0j38dn71jdt871gtxg6srm0000gn/T/tmp5dfe35b3.tmp/main.x86.o -o /var/folders/1p/0r0j38dn71jdt871gtxg6srm0000gn/T/tmp5dfe35b3.tmp/sample -framework CFNetwork -framework Foundation -framework GameKit -framework MapKit -framework MediaPlayer -framework MessageUI -framework OpenGLES -framework StoreKit -framework UIKit -framework AddressBookUI -framework SystemConfiguration -framework AddressBook -framework AudioToolbox -framework AVFoundation -framework QuartzCore -framework CoreFoundation -framework CoreGraphics -framework CoreLocation -framework MobileCoreServices -framework Security -framework CoreData -framework ExternalAccessory -weak_framework AssetsLibrary -weak_framework Accounts -weak_framework CoreBluetooth -weak_framework CoreTelephony -weak_framework EventKit -weak_framework EventKitUI -weak_framework CoreMotion -weak_framework GLKit -weak_framework NewsstandKit -weak_framework Twitter -weak_framework iAd -weak_framework CoreImage -weak_framework CoreText -weak_framework ImageIO -weak_framework CoreMedia -weak_framework CoreVideo -weak_framework QuickLook -lz -u _mono_pmip -u _CreateZStream -u _CloseZStream -u _Flush -u _ReadZStream -u _WriteZStream -liconv -lmono-2.0 -lmonotouch -L/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/lib -u _catch_exception_raise -force_load /var/folders/1p/0r0j38dn71jdt871gtxg6srm0000gn/T/tmp5dfe35b3.tmp/libFacebookSDK.a
Undefined symbols for architecture i386:
"_sqlite3_open_v2", referenced from:
___36-[FBCacheIndex initWithCacheFolder:]_block_invoke_0 in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_exec", referenced from:
___36-[FBCacheIndex initWithCacheFolder:]_block_invoke_0 in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_close", referenced from:
___23-[FBCacheIndex dealloc]_block_invoke_0 in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_finalize", referenced from:
_releaseStatement in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_errmsg", referenced from:
_releaseStatement in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in libFacebookSDK.a(FBCacheIndex.o)
_initializeStatement in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _writeEntryInDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _readEntryFromDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _fetchCurrentDiskUsage] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _removeEntryFromDatabaseForKey:] in libFacebookSDK.a(FBCacheIndex.o)
...
"_sqlite3_bind_text", referenced from:
-[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _writeEntryInDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _readEntryFromDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _removeEntryFromDatabaseForKey:] in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_bind_double", referenced from:
-[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _writeEntryInDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_bind_int", referenced from:
-[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _writeEntryInDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _trimDatabase] in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_step", referenced from:
-[FBCacheIndex _updateEntryInDatabaseForKey:entry:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _writeEntryInDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _readEntryFromDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _fetchCurrentDiskUsage] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _removeEntryFromDatabaseForKey:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _dropTrimmingTable] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _trimDatabase] in libFacebookSDK.a(FBCacheIndex.o)
...
"_sqlite3_prepare_v2", referenced from:
_initializeStatement in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_reset", referenced from:
_initializeStatement in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_column_text", referenced from:
-[FBCacheIndex _readEntryFromDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _trimDatabase] in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_column_double", referenced from:
-[FBCacheIndex _readEntryFromDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
"_sqlite3_column_int", referenced from:
-[FBCacheIndex _readEntryFromDatabase:] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _fetchCurrentDiskUsage] in libFacebookSDK.a(FBCacheIndex.o)
-[FBCacheIndex _trimDatabase] in libFacebookSDK.a(FBCacheIndex.o)
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

mtouch exited with code 1

---------------------- Done ----------------------

Build: 1 error, 1 warning

@bnbot
Copy link

bnbot commented Jun 9, 2021

Issues go stale after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

/lifecycle stale

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants