I managed to fix some of the errors, however there is one that I
couldn't solve yet:
[ 97%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
Linking CXX executable mysqld
Undefined symbols for architecture x86_64:
"__increment_page_get_statistics", referenced from:
_buf_page_get_gen in libinnobase.a(buf0buf.c.o)
_buf_page_optimistic_get in libinnobase.a(buf0buf.c.o)
_buf_page_get_known_nowait in libinnobase.a(buf0buf.c.o)
ld: symbol(s) not found for architecture x86_64
Thanks, that was the problem! I was able to compile Percona Server
now. Homebrew is able to patch packages, so I decided to fix it
instead of the workaround. I'll remove the patch when a new release of
Percona Server comes out with the fix. Thanks for your help!
Gergo Erdosi
On May 10, 9:05 am, Alexey Kopytov <alexey.kopy...@percona.com> wrote:
> On Wed, 9 May 2012 20:17:35 +0200, Gergo Erdosi wrote:
> > Hi,
> > I'm trying to install Percona Server on OS X using Homebrew, however
> > unable to compile it. Please see this ticket for details:
> >https://github.com/mxcl/homebrew/issues/12075
> > I managed to fix some of the errors, however there is one that I
> > couldn't solve yet:
> > [ 97%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o
> > Linking CXX executable mysqld
> > Undefined symbols for architecture x86_64:
> > "__increment_page_get_statistics", referenced from:
> > _buf_page_get_gen in libinnobase.a(buf0buf.c.o)
> > _buf_page_optimistic_get in libinnobase.a(buf0buf.c.o)
> > _buf_page_get_known_nowait in libinnobase.a(buf0buf.c.o)
> > ld: symbol(s) not found for architecture x86_64