Kouhei Sutou
kou****@clear*****
2013年 9月 27日 (金) 13:50:49 JST
須藤です。 In <521F1****@wing-*****> "[groonga-dev,01727] mroonga 3.07でmariadb 10.0.4でエラー" on Thu, 29 Aug 2013 18:55:56 +0900, WING☆ <wings****@wing-*****> wrote: > groonga 3.0.7及びmroonga 3.07のリリースお疲れ様でした。 > また、MariaDB 10.0.4のサポートありがとうございました。 > > それで、早速私の方でも試したのですが、ビルドは通ったのですが、 > インストール時にエラーが出てしまいました。 > > --- > # rpm -ivh mariadbx-mroonga-3.07-1.el6_21.wing.i686.rpm > 準備中... ########################################### [100%] > 1:mariadbx-mroonga ########################################### > [100%] > /usr/bin/mysql -u root -p -e " DELETE IGNORE FROM mysql.plugin WHERE > name = 'mroonga'; INSTALL PLUGIN mroonga SONAME 'ha_mroonga.so'; CREATE > FUNCTION last_insert_grn_id RETURNS INTEGER SONAME 'ha_mroonga.so'; > CREATE FUNCTION mroonga_snippet RETURNS STRING SONAME 'ha_mroonga.so'; > CREATE FUNCTION mroonga_command RETURNS STRING SONAME 'ha_mroonga.so'; > CREATE FUNCTION mroonga_escape RETURNS STRING SONAME 'ha_mroonga.so'; " > Enter password: > ERROR 1126 (HY000) at line 1: Can't open shared library > '/usr/lib/mysql/plugin/ha_mroonga.so' (errno: 2 undefined symbol: > thd_alloc_service) これなんですが、mroongaがlibmysqlservices.aというライブラリを リンクしていないので発生しています。 configureがMariaDB 10系に対応していないのが原因です。CMakeを 使うと動くのですが、そうするとmroongaのspecが公式から乖離し ていってメンテナンスが大変になりますよね。。。 今月末のリリースでいい感じにできるか検討します! -- 須藤 功平 <kou****@clear*****> 株式会社クリアコード <http://www.clear-code.com/> (03-6231-7270) groongaサポート: http://groonga.org/ja/support/ パッチ採用はじめました: http://www.clear-code.com/recruitment/ コミットへのコメントサービスはじめました: http://www.clear-code.com/services/commit-comment.html