Skip to content

Building the mysqlv8udfs Software

Roland edited this page Jul 4, 2013 · 1 revision

This is the line that works for me:

g++ -Wall -I include -I /home/rbouman/mysql/mysql/include -shared -fPIC -DMYSQL_DYNAMIC_PLUGIN -o mysqlv8udfs.so mysqlv8udfs.cpp /usr/lib/libv8.so ~/mysql/mysql/lib/libmysqlclient.so

(I'm on KUbuntu 12.10, and I installed mysql 5.6 in ~/mysql/mysql. I also installed the g++ and libv8-dev packages using Ubuntu Software Center)

Hopefully I can manage to wrap my head around libtool and autoconf and whatnot so I can come up with a build process that works for everybody. If anybody would like to contribute that, then please go ahead, I'd welcome it with open arms :).