Description:
On the following page:
https://dev.mysql.com/doc/refman/5.7/en/fulltext-search-mecab.html
There is this info under "Installing the MeCab Parser Plugin":
"On Unix-like platforms, libmecab.so is statically linked in libpluginmecab.so, which is located in the MySQL plugin directory."
Which I believe is not correct at least for Ubuntu and probably Debian since I see there is a dependency on the system libmecab2 package so it's not statically linked.
But I think it is statically linked in Centos and probably Fedora, not sure for others.
How to repeat:
Ubuntu Trusty:
vagrant@t-ubuntu1404-64:~$ sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libmecab2 mysql-client mysql-common mysql-community-client
mysql-community-server
The following NEW packages will be installed:
libmecab2 mysql-client mysql-common mysql-community-client
mysql-community-server mysql-server
0 upgraded, 6 newly installed, 0 to remove and 234 not upgraded.
Need to get 27.2 MB of archives.
After this operation, 214 MB of additional disk space will be used.
Do you want to continue? [Y/n]
root@t-ubuntu1404-64:/usr/lib/mysql/plugin# ldd libpluginmecab.so
linux-vdso.so.1 => (0x00007fff395fe000)
libmecab.so.2 => /usr/lib/libmecab.so.2 (0x00007f003474e000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f003444a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0034233000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0033e6d000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0033c4f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0033948000)
/lib64/ld-linux-x86-64.so.2 (0x00007f0034d22000)
Suggested fix:
Make it clear where exists a dependency on the system packages and where it is statically linked.