I just filed a very annoying bug when trying to compile with plugin engines using the 5.1.xx source tarball.
Description
I am trying to test SphinxSE as a plugin instead of getting it
statically linked and came across an annoying bug. When using the
configure --with-plugins option only once, the
engine is statically linked. When using it twice, the first
engine is created as a plugin, and the 2nd one is linked
statically. Here are a couple of examples:./configure
–prefix=/usr/local/mysql-5.1.33 –with-plugins=innobase
–with-plugins=sphinx
plugin_innobase_shared_target='ha_innodb.la' <-- plugin plugin_innobase_static_target='' plugin_sphinx_shared_target='' plugin_sphinx_static_target='libsphinx.a' <-- static ./configure --prefix=/usr/local/mysql-5.1.33 --with-plugins=sphinx …[Read more]