MySQL Forums
Forum List  »  Connector/ODBC

Re: mysql-connector-odbc and ARM Architectur
Posted by: Q V
Date: January 12, 2018 05:58PM

Do you happen to have any notes on how you were able to successfully build it from source ?
I'm following this guide to build it on the Pi3, but have been running through a lot of road blocks, especially with missing header files.

eg. currently:
~/Downloads/mysql-connector-odbc-master $ sudo make
Scanning dependencies of target myodbc-util
[ 1%] Building C object util/CMakeFiles/myodbc-util.dir/stringutil.c.o
In file included from /mysql-connector-odbc-master/util/stringutil.h:37:0,
from /mysql-connector-odbc-master/util/stringutil.c:32:
/mysql-connector-odbc-master/util/../MYODBC_MYSQL.h:64:23: fatal error: my_thread.h: No such file or directory
#include <my_thread.h>
^
compilation terminated.
util/CMakeFiles/myodbc-util.dir/build.make:62: recipe for target 'util/CMakeFiles/myodbc-util.dir/stringutil.c.o' failed
make[2]: *** [util/CMakeFiles/myodbc-util.dir/stringutil.c.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'util/CMakeFiles/myodbc-util.dir/all' failed
make[1]: *** [util/CMakeFiles/myodbc-util.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2


Thanks much in advance for everyone's guidance !

Options: Reply• Quote


Subject
Written By
Posted
Re: mysql-connector-odbc and ARM Architectur
Q V
January 12, 2018 05:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.