Mysql connector odbc from source
Hello, i'm trying to install mysql-connector-odbc from source .but I got following error during make phase. Do you have any ideas?
[ 65%] Linking CXX executable ../bin/myodbc-installer
/usr/bin/ld: CMakeFiles/myodbc-installer.dir/myodbc-installer.cc.o: in function `print_odbc_error(void*, short)':
myodbc-installer.cc:(.text+0x1c9): undefined reference to `SQLGetDiagRec'
/usr/bin/ld: CMakeFiles/myodbc-installer.dir/myodbc-installer.cc.o: in function `list_datasources()':
myodbc-installer.cc:(.text+0x5f50): undefined reference to `SQLAllocHandle'
/usr/bin/ld: myodbc-installer.cc:(.text+0x5fb1): undefined reference to `SQLSetEnvAttr'
/usr/bin/ld: myodbc-installer.cc:(.text+0x5fef): undefined reference to `SQLFreeHandle'
/usr/bin/ld: myodbc-installer.cc:(.text+0x6060): undefined reference to `SQLDataSources'
/usr/bin/ld: myodbc-installer.cc:(.text+0x60b0): undefined reference to `SQLFreeHandle'
/usr/bin/ld: myodbc-installer.cc:(.text+0x60cb): undefined reference to `SQLFreeHandle'
collect2: error: ld returned 1 exit status
make[2]: *** [installer/CMakeFiles/myodbc-installer.dir/build.make:100: bin/myodbc-installer] Error 1
make[1]: *** [CMakeFiles/Makefile2:491: installer/CMakeFiles/myodbc-installer.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Subject
Views
Written By
Posted
Mysql connector odbc from source
543
October 16, 2024 02:13AM
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.