← Back to team overview

maria-discuss team mailing list archive

Compiling 5.5.20 on OS X

 

I've been compiling MySQL and MariaDB on OS X for quite some time now, but this is the first time that I have ever used CMake to build an application. The 'make' step consistently fails with the following:

Linking CXX executable ma_pagecache_consist_1k-t
Undefined symbols for architecture x86_64:
  "_key_PAGECACHE_cache_lock", referenced from:
      _init_pagecache in libaria.a(ma_pagecache.c.o)
ld: symbol(s) not found for architecture x86_64

I assume libaria.a is Maria specific. 

As a sanity check, I downloaded the MySQL source code for 5.5.21 from the MySQL site and I successfully compiled everything with CMake.

Has anyone else successfully compiled a 64 bit 5.5.20 MariaDB on OS X? What am I missing?


Follow ups