安装impalaodbc失败

6ss1mwsb  于 2021-06-26  发布在  Impala
关注(0)|答案(1)|浏览(304)

我正在尝试在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。它是空的!如何修复?

rhfm7lfc

rhfm7lfc1#

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

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

相关问题