我正在尝试在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条答案
按热度按时间rhfm7lfc1#
我自己解决的。只需运行以下命令: