错误而连接到datastax Linux的ODBC驱动程序
问题描述:
我想安装linux的datastax ODBC驱动程序,但我m如果您无法错误[Datastax] [ODBC](11560)来定位SQLGetPrivateProfileString功能错误而连接到datastax Linux的ODBC驱动程序
请解决我的问题。
答
按照faq from Simba(假设这是在DataStax ODBC驱动程序,辛巴发展?):
I get the following error: [Simba] [ODBC] (11560) Unable to locate SQLGetPrivateProfileString function
This is due to not setting the ODBCInstLib in the .simba._driverName_odbc.ini correctly. Please refer to the .ini file and uncomment the correct ODBCInstLib line as indicated by the comments to match the driver manager that you are using.
你可以检查你的home目录这样的文件?它应该被命名为.simba.cassandraodbc.ini
我在想,虽然它可能在DataStax版本中被命名为不同的东西。 Page 18 of this reference可能有助于将此文件配置为指向.so文件。
我使用Datastax驱动程序,在folliowing文件 \t “datastax.cassandraodbc.ini” 中提到的lib文件名, \t#iODBC的 ODBCInstLib = libiodbcinst.so 我应该使用完整路径 – Rahul
我认为应该按照原样工作,如果libiodbcinst.so位于LD_LIBRARY_PATH中指定的目录中。你在/ usr/lib /,/ usr/local/lib还是其他地方看过它? –