• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
mySQL client lib linking problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mySQL client lib linking problem...


  • Subject: mySQL client lib linking problem...
  • From: Michael Davey <email@hidden>
  • Date: Mon, 23 Nov 2009 16:19:10 +1100

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 (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: mySQL client lib linking problem...
      • From: Michael Davey <email@hidden>
    • Re: mySQL client lib linking problem...
      • From: Karolis Ramanauskas <email@hidden>
  • Prev by Date: Re: question about informal protocols
  • Next by Date: Re: mySQL client lib linking problem...
  • Previous by thread: Problem With Setting Badge via Interface Builder
  • Next by thread: Re: mySQL client lib linking problem...
  • Index(es):
    • Date
    • Thread