| Bug #52882 | Undefined symbols: _wq_mutex_key using --with-plugins=all on Mac OS X | ||
|---|---|---|---|
| Submitted: | 16 Apr 2010 9:59 | Modified: | 21 Jul 2010 6:26 |
| Reporter: | Ryan Schmidt | Email Updates: | |
| Status: | Won't fix | Impact on me: | |
| Category: | MySQL Server: InnoDB Plugin storage engine | Severity: | S1 (Critical) |
| Version: | 5.5.4-m3 | OS: | MacOS (10.6.3) |
| Assigned to: | Sunny Bains | CPU Architecture: | Any |
| Tags: | innodb | ||
[16 Apr 2010 12:18]
Marc ALFF
Verified as described.
./BUILD/compile-pentium64-debug-max
...
Linking CXX executable mysqld
Undefined symbols:
"_wq_mutex_key", referenced from:
all_innodb_mutexes in libinnobase.a(ha_innodb.cc.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [sql/mysqld] Error 1
make[1]: *** [sql/CMakeFiles/mysqld.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Built target mysqlserver
make: *** [all] Error 2
MarcBook:mysql-5.5.4-m3 malff$ pwd
/Users/malff/PUBLIC_TREE/mysql-5.5.4-m3
[27 Apr 2010 2:25]
Sunny Bains
The offending mutex is no longer instrumented and has been removed from the all_innodb_mutexes[] array in ha_innodb.cc.
[21 Jul 2010 6:26]
Ryan Schmidt
Thank you; 5.5.5-m3 builds fine.
[25 Nov 2011 13:14]
Jigar D
I am facing the same problem while making mysql 5.5.18. Can anyone help me with this in detailed step.

Description: I can't seem to compile MySQL 5.5.4-m3 on Mac OS X 10.6.3 when using the configure argument --with-plugins=all. 5.5.2-m2 built just fine this way, but 5.5.4-m3 fails on: Scanning dependencies of target mysqld [ 90%] Building CXX object sql/CMakeFiles/mysqld.dir/main.cc.o Linking CXX executable mysqld Undefined symbols: "_wq_mutex_key", referenced from: all_innodb_mutexes in libinnobase.a(ha_innodb.cc.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [sql/mysqld] Error 1 How to repeat: Mac OS X 10.6.3 Xcode 3.2.2 tar xzf mysql-5.5.4-m3.tar.gz cd mysql-5.5.4-m3 ./configure --with-plugins=all make