无法安装ImpalaODBC

时间:2016-01-05 05:50:58

标签: ubuntu odbc impala

我正在尝试在Ubuntu服务器上安装ImpalaODBC。这是历史:

sudo apt-get install unixodbc //success
sudo apt-get install libsasl2-modules-gssapi-mit //success
export LD_LIBRARY_PATH=/opt/cloudera/impalaodbc/lib/64:$LD_LIBRARY_PATH
export ODBCSYSINI=/path/to/impala-php/odbc
export ODBCINI=/path/to/impala-php/odbc/odbc.ini
export SIMBAINI=/path/to/impala-php/odbc/cloudera.impalaodbc.ini
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libodbcinst.so.1

但是,我收到了一个错误:

[01000][unixODBC][Driver Manager]Can't open lib '/opt/cloudera/impalaodbc/lib/64/libclouderaimpalaodbc64.so' : file not found

然后,我检查/ opt。它空了!如何解决?

1 个答案:

答案 0 :(得分:0)

我自己解决了。 只需运行以下命令:

sudo dpkg -i clouderaimpalaodbc_2.5.29.1009-2_amd64.deb