• 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
Re: using mysql.h... linking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using mysql.h... linking problem


  • Subject: Re: using mysql.h... linking problem
  • From: Jens Alfke <email@hidden>
  • Date: Sun, 10 Feb 2008 22:36:29 -0800


On 10 Feb '08, at 10:00 PM, Mark McCray wrote:

Basically adding "-lz" in the additional link flags fixed that issue.

Or you could add the library /usr/lib/libz.dylib to the project; the "- lz" flag is the command-line equivalent.


(Sounds like the mysql libraries themselves link against ZLib, a data compression library.)

—Jens_______________________________________________

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


References: 
 >using mysql.h... linking problem (From: "Mark McCray" <email@hidden>)
 >Re: using mysql.h... linking problem (From: Andrew Farmer <email@hidden>)
 >Re: using mysql.h... linking problem (From: "Mark McCray" <email@hidden>)

  • Prev by Date: Re: using mysql.h... linking problem
  • Next by Date: split up alloc and init?
  • Previous by thread: Re: using mysql.h... linking problem
  • Next by thread: split up alloc and init?
  • Index(es):
    • Date
    • Thread