Compiling MariaDB Connector v1.0.5 and/or Mysql Connection v 5.3.4 -
i trying compile mariadb connector v1.0.5 and/or mysql connection v 5.3.4.
i have mariadb server v.10.0.21 installed on slackware server. need mysql connector working, doesn't matter one.
also applied patch mentioned in is there compatible odbc driver mariadb 10 on linux?
when compile mariadb connector error saying "mariadb not found".
when compile mysql connector following error:
- cmake error: following variables used in project, set notfound.
- please set them or make sure set , tested correctly in cmake files: mysql_lib linked target "myodbc5a" in directory /downloads/mysql-connector-odbc-5.3.4-src/driver linked target "myodbc5w" in directory /downloads/mysql-connector-odbc-5.3.4-src/driver linked target "myodbc5s" in directory /downloads/mysql-connector-odbc-5.3.4-src/setupgui linked target "myodbc-installer" in directory /downloads/mysql-connector-odbc-5.3.4-src/installer
outout error file
determining if function pthread_create exists in pthreads failed following output: change dir: /downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp
run build command:/usr/bin/gmake "cmtrycompileexec3523358880/fast" /usr/bin/gmake -f cmakefiles/cmtrycompileexec3523358880.dir/build.make cmakefiles/cmtrycompileexec3523358880.dir/build gmake1: entering directory
/downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp' /usr/bin/cmake -e cmake_progress_report /downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp/cmakefiles 1 building c object cmakefiles/cmtrycompileexec3523358880.dir/checkfunctionexists.c.o /usr/bin/cc -dcheck_function_exists=pthread_create -o cmakefiles/cmtrycompileexec3523358880.dir/checkfunctionexists.c.o -c /usr/share/cmake-2.8/modules/checkfunct ionexists.c linking c executable cmtrycompileexec3523358880 /usr/bin/cmake -e cmake_link_script cmakefiles/cmtrycompileexec3523358880.dir/link.txt --verbose=1 /usr/bin/cc -dcheck_function_exists=pthread_create cmakefiles/cmtrycompileexec3523358880.dir/checkfunctionexists.c.o -o cmtrycompileexec3523358880 -rdynamic -lpth reads /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld: cannot find -lpthreads collect2: error: ld returned 1 exit status gmake[1]: *** [cmtrycompileexec3523358880] error 1 gmake[1]: leaving directory
/downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp' gmake: *** [cmtrycompileexec3523358880/fast] error 2determining if function dlopen exists failed following output: change dir: /downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp
run build command:/usr/bin/gmake "cmtrycompileexec1888052970/fast" /usr/bin/gmake -f cmakefiles/cmtrycompileexec1888052970.dir/build.make cmakefiles/cmtrycompileexec1888052970.dir/build gmake1: entering directory
/downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp' /usr/bin/cmake -e cmake_progress_report /downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp/cmakefiles 1 building c object cmakefiles/cmtrycompileexec1888052970.dir/checkfunctionexists.c.o /usr/bin/cc -dcheck_function_exists=dlopen -o cmakefiles/cmtrycompileexec1888052970.dir/checkfunctionexists.c.o -c /usr/share/cmake-2.8/modules/checkfunctionexist s.c linking c executable cmtrycompileexec1888052970 /usr/bin/cmake -e cmake_link_script cmakefiles/cmtrycompileexec1888052970.dir/link.txt --verbose=1 /usr/bin/cc -dcheck_function_exists=dlopen cmakefiles/cmtrycompileexec1888052970.dir/checkfunctionexists.c.o -o cmtrycompileexec1888052970 -rdynamic cmakefiles/cmtrycompileexec1888052970.dir/checkfunctionexists.c.o: in function
main': checkfunctionexists.c:(.text+0x15): undefined referencedlopen' collect2: error: ld returned 1 exit status gmake[1]: *** [cmtrycompileexec1888052970] error 1 gmake[1]: leaving directory
/downloads/mysql-connector-odbc-5.3.4-src/cmakefiles/cmaketmp' gmake: *** [cmtrycompileexec1888052970/fast] error 2blockquote
just use precompiled versions. copy libraries lib , include directories.
Comments
Post a Comment