• 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: mySQL client lib linking problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mySQL client lib linking problem...


  • Subject: Re: mySQL client lib linking problem...
  • From: Michael Davey <email@hidden>
  • Date: Mon, 23 Nov 2009 18:32:35 +1100

Well, it may not have been the most elegant of solutions, but it works...

Basically I downloaded the binary tarballs for each of the relevant architectures from the mySQL download page, and then used lipo to stitch the client libraries into the universal binary that I needed.  As an aside I have the 64bit PPC version as well - does anyone know if this is needed?

Many thanks to all for your help,

Mikey

On 23 Nov 2009, at 18:10, Andrew Farmer wrote:

> On 22 Nov 2009, at 22:33, Michael Davey wrote:
>> Yeah, thanks - but given that I cannot even get it to build I will worry about that once I get to the point where it is distributable ;o)
>
> Fair enough!
>
> For what it's worth, you should be able to compile a universal MySQL by downloading the source and running:
>
> export CFLAGS=-arch ppc -arch i386 -arch x86_64
> export CXXFLAGS=-arch ppc -arch i386 -arch x86_64
> export LDFLAGS=-arch ppc -arch i386 -arch x86_64
> ./configure --enable-static --disable-dependency-tracking
> make
> sudo make install
>

_______________________________________________

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: Nick Zitzmann <email@hidden>
    • Re: mySQL client lib linking problem...
      • From: Karolis Ramanauskas <email@hidden>
References: 
 >mySQL client lib linking problem... (From: Michael Davey <email@hidden>)

  • Prev by Date: Problem with NSTableView in NSSplitView
  • Next by Date: Re: mySQL client lib linking problem...
  • Previous by thread: Re: mySQL client lib linking problem...
  • Next by thread: Re: mySQL client lib linking problem...
  • Index(es):
    • Date
    • Thread