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
The formula uses these flags:
args = std_cmake_parameters.split + [
".",
"-DMYSQL_DATADIR=#{var}/percona",
"-DINSTALL_MANDIR=#{man}",
"-DINSTALL_DOCDIR=#{doc}",
"-DINSTALL_INFODIR=#{info}",
# CMake prepends prefix, so use share.basename
"-DINSTALL_MYSQLSHAREDIR=#{share.basename}",
"-DWITH_SSL=yes",
"-DDEFAULT_CHARSET=utf8",
"-DDEFAULT_COLLATION=utf8_general_ci",
"-DSYSCONFDIR=#{etc}",
"-DCMAKE_BUILD_TYPE=RelWithDebInfo"
]
Can anybody tell me what could be the source of this error? You can
reply on Github too in the ticket. Thanks in advance!
Gergo Erdosi