← Back to team overview

maria-discuss team mailing list archive

Re: Compiling 5.5.20 on OS X

 

Same problem with MariaDB 5.5.21...


On Mar 4, 2012, at 07:53 , Richard Dunn wrote:

> 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

References