./configure
--with-mysql=/usr/local/src/mysql-5.5.50
--with-judy=/usr/local
--with-event=/usr/
--libdir=/usr/lib/mysql/plugin
mysql> INSTALL PLUGIN pinba SONAME 'libpinba_engine.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/libpinba_engine.so' (errno: 2 /usr/lib/mysql/plugin/libpinba_engine.so: undefined symbol: _ZN7handler26get_dynamic_partition_infoEP14PARTITION_INFOj)
./configure
--with-mysql=/usr/local/src/mysql-5.5.50
--with-judy=/usr/local
--with-protobuf=/usr/local
--with-event=/usr/
--libdir=/usr/lib/mysql/plugin
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: pinba.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
mysql> INSTALL PLUGIN pinba SONAME 'libpinba_engine.so';
ERROR 1126 (HY000): Can't open shared library 'libpinba_engine.so' (errno: 0 API version for STORAGE ENGINE plugin is too different)
sudo
checkinstall