かみぽわーる

kamipo's blog

MySQL 5.6 で Q4M を動かしたい

一晩がんばってみたけどこれ以上は僕の力量では解決方法がわからないので誰か続きをお願いします…!

kamipo/q4m at mysql-5.6 · GitHub

とりあえずビルドが通ってlibqueue_engine.soまではできあがるんだけど、INSTALL PLUGIN queue SONAME 'libqueue_engine.so'してみるとSymbol not foundでいけてない感じです。

追記

#define DBUG_OFF でだいぶいい感じになりました!あとは僕か OSX の問題かもしれません!!

MySQL 5.6.10 on OSX

% ~/opt/mysql/5.6.10/bin/mysql -u root -v < support-files/install.sql
--------------
INSTALL PLUGIN queue SONAME 'libqueue_engine.so'
--------------

ERROR 1126 (HY000) at line 1: Can't open shared library '/Users/kamipo/opt/mysql/5.6.10/lib/plugin/libqueue_engine.so' (errno: 2 dlopen(/Users/kamipo/opt/mysql/5.6.10/lib/plugin/libqueue_engine.so, 2): Symbol not found: __Z20build_table_filenamePcmPKcS1_S1_)

MySQL 5.5.30 on OSX

% ~/opt/mysql/5.5.30/bin/mysql -u root -v < support-files/install.sql
--------------
INSTALL PLUGIN queue SONAME 'libqueue_engine.so'
--------------

ERROR 1126 (HY000) at line 1: Can't open shared library '/Users/kamipo/opt/mysql/5.5.30/lib/plugin/libqueue_engine.so' (errno: 2 dlopen(/Users/kamipo/opt/mysql/5.5.30/lib/plugin/libqueue_engine.so, 2): Symbol not found: __db_enter_
  Referenced from: /Users)

MySQL 5.6.10 on Ubuntu 12.04 LTS

% ~/opt/mysql/5.6.10/bin/mysql -u root -v < support-files/install.sql
--------------
INSTALL PLUGIN queue SONAME 'libqueue_engine.so'
--------------

ERROR 1126 (HY000) at line 1: Can't open shared library '/home/kamipo/opt/mysql/5.6.10/lib/plugin/libqueue_engine.so' (errno: 2 /home/kamipo/opt/mysql/5.6.10/lib/plugin/libqueue_engine.so: undefined symbol: _db_pargs_)

MySQL 5.5.30 on Ubuntu 12.04 LTS

% ~/opt/mysql/5.5.30/bin/mysql -u root -v < support-files/install.sql
--------------
INSTALL PLUGIN queue SONAME 'libqueue_engine.so'
--------------

ERROR 1126 (HY000) at line 1: Can't open shared library '/home/kamipo/opt/mysql/5.5.30/lib/plugin/libqueue_engine.so' (errno: 2 /home/kamipo/opt/mysql/5.5.30/lib/plugin/libqueue_engine.so: undefined symbol: _db_enter_)