The dylib is the one that comes from the OS X build of mySQL - I did not build 
it myself :o(

On 23 Nov 2009, at 16:50, Karolis Ramanauskas wrote:

> I think your dylib file has been compiled under debug only. When you compile 
> your app under release, the compiler complains that dylib is compiled under 
> debug. Recompile your dylib under release then compile your app under 
> release. Better yet you should add you dylib project (drag and drop) to your 
> app project and then in your app's target add dylib as "direct dependence" 
> this way it will recompile whenever you compile your app.
> 
> Karolis
> 
> On Sun, Nov 22, 2009 at 11:19 PM, Michael Davey <frak....@gmail.com> wrote:
> I am using the mysql c library in my application, and have wrapped the C 
> calls in an objective-C class (source available if needed).
> 
> I have added the linking references as per instructions I have found on the 
> web and when I run my application in debug mode everything works just fine, 
> however, when I build it for release, I get a lot of errors that seem to stem 
> from the following:
> 
> ld: warning: in /usr/local/mysql/lib/libmysqlclient_r.dylib, file is not of 
> required architecture
> 
> 
> What does this mean if my application compiles and runs just fine in debug 
> mode? I have checked and the links to the zlib and mysqlclient are present 
> for both build configurations, but for whatever reason, it will not build in 
> release.
> 
> Any help will be gratefully received...
> 
> Mikey_______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/karolisr%40gmail.com
> 
> This email sent to karol...@gmail.com
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to