[Maria-discuss] 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?
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?
I have read about the neew features called non-blocking api and progress report. They both sound interesting. Now, the question is: are there any plans to add the new features to the PHP module 'mysqli'? If Oracle MySQL will not support nba and pr, the PHP project will add them to the module? And, it they don't, there will be a fork of the module that will support all MariaDB features? Federico Razzoli
Hi, Federico! On Mar 23, Federico Razzoli wrote:
I have read about the new features called non-blocking api and progress report. They both sound interesting.
Now, the question is: are there any plans to add the new features to the PHP module 'mysqli'? If Oracle MySQL will not support nba and pr, the PHP project will add them to the module? And, it they don't, there will be a fork of the module that will support all MariaDB features?
At the moment, we have no plans of forking mysqli (or mysqlnd, etc). And I don't know what PHP project will do, but I hope they will eventually add support for these features. Especially is more and more users will be asking for it. Regards, Sergei
Hi! On 17 Mar 2012, at 19:21, Richard Dunn wrote:
Same problem with MariaDB 5.5.21...
Is this what you see currently? Produced this using 5.5.21 using BUILD/compile-pentium64-max [ 77%] Building C object storage/maria/unittest/CMakeFiles/ma_pagecache_consist_64k-t.dir/test_file.c.o Linking CXX executable ma_pagecache_consist_1kRD-t Linking CXX executable ma_pagecache_consist_1kWR-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 collect2: ld returned 1 exit status 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 collect2: ld returned 1 exit status make[2]: *** [storage/maria/unittest/ma_pagecache_consist_1kRD-t] Error 1 make[1]: *** [storage/maria/unittest/CMakeFiles/ma_pagecache_consist_1kRD-t.dir/all] Error 2 make[2]: *** [storage/maria/unittest/ma_pagecache_consist_1kWR-t] Error 1 make[1]: *** [storage/maria/unittest/CMakeFiles/ma_pagecache_consist_1kWR-t.dir/all] Error 2 Linking CXX executable ma_pagecache_consist_64k-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 collect2: ld returned 1 exit status make[2]: *** [storage/maria/unittest/ma_pagecache_consist_64k-t] Error 1 make[1]: *** [storage/maria/unittest/CMakeFiles/ma_pagecache_consist_64k-t.dir/all] Error 2 [ 88%] Built target sql make: *** [all] Error 2
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?
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: Community developed. Feature enhanced. Backward compatible. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
Just tried 5.5.23 -- still no luck compiling on OS X. Same error. On Mar 17, 2012, at 07:21 , Richard Dunn wrote:
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?
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
Hi! On 12 Apr 2012, at 04:24, Richard Dunn wrote:
Just tried 5.5.23 -- still no luck compiling on OS X. Same error.
Yes, we were trying to debug this yesterday. We know this as not being fixed in this GA release :-( We are working on it now
On Mar 17, 2012, at 07:21 , Richard Dunn wrote:
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?
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: Community developed. Feature enhanced. Backward compatible. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
-----Original Message----- From: maria-discuss- bounces+wlad=montyprogram.com@lists.launchpad.net [mailto:maria- discuss-bounces+wlad=montyprogram.com@lists.launchpad.net] On Behalf Of Colin Charles Sent: Donnerstag, 12. April 2012 01:03 To: Richard Dunn Cc: maria-discuss@lists.launchpad.net Subject: Re: [Maria-discuss] Compiling 5.5.20 on OS X
Hi!
On 12 Apr 2012, at 04:24, Richard Dunn wrote:
Just tried 5.5.23 -- still no luck compiling on OS X. Same error.
Yes, we were trying to debug this yesterday. We know this as not being fixed in this GA release :-(
We are working on it now
I just pushed the fix for build on OSX . The mentioned error appears to be a compiler/linker bug.
On Mar 17, 2012, at 07:21 , Richard Dunn wrote:
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?
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: Community developed. Feature enhanced. Backward compatible. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
This appears to be fixed now. 5.5.24 successfully compiles on OS X 10.7.4. On Apr 11, 2012, at 19:50 , Vladislav Vaintroub wrote:
-----Original Message----- From: maria-discuss- bounces+wlad=montyprogram.com@lists.launchpad.net [mailto:maria- discuss-bounces+wlad=montyprogram.com@lists.launchpad.net] On Behalf Of Colin Charles Sent: Donnerstag, 12. April 2012 01:03 To: Richard Dunn Cc: maria-discuss@lists.launchpad.net Subject: Re: [Maria-discuss] Compiling 5.5.20 on OS X
Hi!
On 12 Apr 2012, at 04:24, Richard Dunn wrote:
Just tried 5.5.23 -- still no luck compiling on OS X. Same error.
Yes, we were trying to debug this yesterday. We know this as not being fixed in this GA release :-(
We are working on it now
I just pushed the fix for build on OSX . The mentioned error appears to be a compiler/linker bug.
On Mar 17, 2012, at 07:21 , Richard Dunn wrote:
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?
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
-- Colin Charles, http://bytebot.net/blog/ | twitter: @bytebot | skype: colincharles MariaDB: Community developed. Feature enhanced. Backward compatible. Download it at: http://www.mariadb.org/ Open MariaDB/MySQL documentation at the Knowledgebase: http://kb.askmonty.org/
_______________________________________________ Mailing list: https://launchpad.net/~maria-discuss Post to : maria-discuss@lists.launchpad.net Unsubscribe : https://launchpad.net/~maria-discuss More help : https://help.launchpad.net/ListHelp
Hi, Richard! I don't have an OS X build environment at the moment. I'll try to help you and fix that, but I'll be asking a lot of questions. Sorry for this. On Mar 04, 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.
Can you show the complete build log? To collect it you can run "make VERBOSE=1 -k >& log". The file might be quite big, don't forget to gzip it before emailing. Regards, Sergei
participants (5)
-
Colin Charles
-
Federico Razzoli
-
Richard Dunn
-
Sergei Golubchik
-
Vladislav Vaintroub