INSTALL PLUGIN error...

Hello,

I'm attempting to begin evaluating OQGRAPH for an upcoming project but I'm having a minor issue and was hoping I could get some advice. It's probably very simple for someone knowledgeable about the code. I've succesfuly built MariDB-5.1.42 and oqgraph from the trunk. When I attempt to load the module it throws: "ERROR 1126 (HY000): Can't open shared library '/usr/local/mysql/lib/mysql/plugin/oqgraph_engine.so' (errno: 13 undefined symbol: safe_mutex_lock)"

can anyone advise me as to how to resolve this?

Thanks,
Robert

hmm

Hi Robert,

You mean the oqgraph trunk? That probably won't build for 5.1.42... we made some changes to get the integration into the MariaDB tree done, but there's some tech hassles hindering that - and we haven't put the changes back into trunk yet.

Error 13 is "permission denied" though, do check that mysqld has access to the so file, and that they're built with identical build flags (DEBUG, etc) as that's really important. If you find any funnies, please file on bugs.launchpad.net/oqgraph that's the best place for it (rather than here) as we can better track things.
Thanks!

Cheers,
Arjen.

DEBUG is on by default

OK, I'll enter a bug. The problem seems to be that oqgraph is built DEBUG by default and that MariaDB was build RELEASE.