Undefined symbol: _res_9_query

Question: I had some IMAP code working with Chilkat iOS 9.2.1 version. Tried upgrading to 9.3.0 (wanted to use the new attachments functionality) and got the following error: Undefined symbols for architecture i386: “_res_9_query”, referenced from: ChilkatResolve::mxLookup(char const*, ScoredStrings&, LogBase&, bool) in libchilkatIos.a(ChilkatResolve.o) ChilkatResolve::dkimLookup(char const*, StringBuffer&, LogBase&, bool) in libchilkatIos.a(ChilkatResolve.o) ChilkatResolve::bestMxLookup(char const*, StringBuffer&, LogBase&, bool) in libchilkatIos.a(ChilkatResolve.o) ld: symbol(s) not […]

__dyld__dyld_start error when launching your iOS app

A note from a Chilkat customer using the IOS 4.3/5.0 libraries: …when running in the simulator, it ended up in gdb with a “__dlyd__dlyd_start message. I looked around on Google and found this: http://blog.ginzburgconsulting.com/__dyld__dyld_start-error-when-launching-your-ios-app/ So I added the -weak-lSystem flag in Xcode (Targets -> Your target -> Build Setting tab) and it’s running now.

Common IOS undefined symbols error

Link Error: Undefined symbols for architecture i386: “operator new(unsigned long)”, referenced from: -[CkoMailMan init] in libchilkatIos.a(CkoMailMan.o) “operator delete(void*)”, referenced from: -[CkoMailMan init] in libchilkatIos.a(CkoMailMan.o) Solution: The Chilkat internals are written in C++. Therefore, your Objective-C application will need to link against the C++ runtime libraries. The easiest way to do it is to include an empty source file with the […]