Comments - Installing OQGRAPH
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.
I'm getting an error 2 on MariaDB 10.1.1 on Mac OS 10.10.5, installed via Homebrew:
/usr/include/sys/errno.h implies that the file doesn't exist, but I can see it seems to have the same perms as other plugins that can be INSTALLed (such as CONNECT):
Any clues what's going on here?
If you google for "Can't open shared library no suitable image found" you'll find quite a few hints of might be the reason. Start from
What did you get?
Thanks for the pointer, which I will investigate further.
file(1) shows that all the ha_*.so libs are "Mach-O 64-bit bundle x86_64", EXCEPT ha_oqgraph.so, which is "Mach-O 64-bit object x86_64".
Did you build MariaDB as in here or installed as in here?
I had done a "brew install maraidb", on top of a previous install. But I a sum(1) on that file and the oqgraph from 10.1.6, and they are the same. So I may have some crufty old stuff hanging around somehow.
I just did a clean "brew install mariadb" on another machine. No ha_oqgraph.so gets installed:
What has to be done to get ha_oqgraph.so built? I'm willing to hack around on the Homebrew formula if I have a good starting point.
From looking at "brew edit mariadb", is it as simple as setting the compile flag: "-DPLUGIN_OQGRAPH=YES"?
Thanks for any advice offered!