-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error install plugin on debian 6.03 - Percona 5.5 #1
Comments
Sorry. This error occurs when you use Percona Server 5.5 |
Thanks for the info. I've renamed the issue to indicate that Percona 5.5 is used. We didn't do any tests with Percona 5.5. It looks like we have some issue with the symbols. From a quick search on the net, it looks like this error happens as a result of compiling the plugin lib with gcc and loading it in a server compiled with g++. |
The compiling.txt says to run |
Thanks for the comment. We haven't done any tests with Percona. When we get to testing Percona will try to check if using g++ resolves the issue. |
Latest commit resolves this issue. Will be included as part of 1.0.3 release. |
using 1.01 version
root@mysql-slave:/home/pdobryakov/audit# mysql --version
mysql Ver 14.14 Distrib 5.5.21, for Linux (x86_64) using readline 5.1
root@mysql-slave:/home/pdobryakov/audit# uname -a
Linux mysql-slave.test1.alpari-ru.dom 3.2.0-1-amd64 #1 SMP Fri Feb 17 05:17:36 UTC 2012 x86_64 GNU/Linux
root@mysql-slave:/home/pdobryakov/audit# cat /etc/debian_version
6.0.4
mysql> INSTALL PLUGIN AUDIT SONAME 'libaudit_plugin.so';
ERROR 1126 (HY000): Can't open shared library '/usr/lib/mysql/plugin/libaudit_plugin.so' (errno: 2 /usr/lib/mysql/plugin/libaudit_plugin.so: undefined symbol: __cxa_pure_virtual)
ls -la /usr/lib/mysql/plugin
drwxr-xr-x 2 root root 4096 Apr 11 13:24 .
drwxr-xr-x 3 root root 4096 Jan 30 16:30 ..
.......
-rw-r--r-- 1 root root 714858 Mar 15 19:50 libaudit_plugin.so
........
The text was updated successfully, but these errors were encountered: