Re: mySQL client lib linking problem...
Re: mySQL client lib linking problem...
- Subject: Re: mySQL client lib linking problem...
- From: Karolis Ramanauskas <email@hidden>
- Date: Mon, 23 Nov 2009 01:59:10 -0600
Glad you found your solution... This is out of my league. Quite interesting
though, so I will creep this exchange.
Peace
On Mon, Nov 23, 2009 at 1:32 AM, Michael Davey <email@hidden> wrote:
> 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
>
_______________________________________________
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