MySQL Forums
Forum List  »  Connector/ODBC

Re: how to install mysql-connector-odbc-5.1.12-solaris10-x86-64bit(myodbc-ins taller) on solaris
Posted by: Hemant Dangi
Date: September 18, 2013 05:24AM

Hello Abdel,

Thanks for showing interest in MySQL Connector/ODBC.
Please use below commands for pkg install:

gzip -d mysql-connector-odbc-5.1.12-solaris10-x86-64bit.pkg.gz
pkgadd -d mysql-connector-odbc-5.1.12-solaris10-x86-64bit.pkg.gz

and below command for source install:

$ cmake -G 'Unix Makefiles' -DDISABLE_GUI=1 -DCONNECTOR_PLATFORM=solaris10-sparc-64bit -DMYSQL_CXX_LINKAGE=1 '-DEXTRA_MYSQL_DEP=path_to_libssl.a;path_to_libcrypto.a;rt' -DWITH_UNIXODBC=1 -DODBC_INCLUDES=path_to_unixodbc_include_dir -DODBC_LIB_DIR=path_to_unixodbc_lib_dir '-DCMAKE_SHARED_LINKER_FLAGS=-lsocket -lnsl -lCrun'
$ make
$ make install


Thanks.

Options: ReplyQuote


Subject
Written By
Posted
Re: how to install mysql-connector-odbc-5.1.12-solaris10-x86-64bit(myodbc-ins taller) on solaris
September 18, 2013 05:24AM


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.