Jump to content

How to build and install mariadb connectorodbc from source?


Recommended Posts

Posted
Armbianmonitor:

Hi! I try to install mariadb connectorodbc from source in my orange pi, but i have problems, when i compile it. I use off.doc, there are, not says, about supports arm based, but i think, it must work.

1. installed requirments: git cmake make gcc libssl-dev unixodbc odbcinst unixodbc-dev

2. get sources: git clone https://github.com/MariaDB/mariadb-connector-odbc.git

3. tryed to compile it, by cmake, with using that config: 

cmake -DM_DIR=/usr/lib/arm-linux-gnueabihf -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCONC_WITH_UNIT_TESTS=Off -DCMAKE_C_FLAGS_RELWITHDEBINFO="-I /usr/local/include/mariadb -I /usr/include/mariadb -L /usr/local/lib"

i added new env var  -DM_DIR=/usr/lib/arm-linux-gnueabihf  by hint from that post. But it still not works.:

CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.


== Configuring MariaDB Connector/C
-- Found ODBC Driver Manager includes: /usr/include
CMake Error at CMakeLists.txt:180 (MESSAGE):
  Driver Manager was not found


-- Configuring incomplete, errors occurred!
See also "/usr/src/mariadb-connector-odbc/CMakeFiles/CMakeOutput.log".
See also "/usr/src/mariadb-connector-odbc/CMakeFiles/CMakeError.log".

have anyone an idea? maybe exits deb package? Thanks!

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines