Support Questions
Find answers, ask questions, and share your expertise

[ODBC AIX 7.1] liblouderahiveodbc64.so file not found

[ODBC AIX 7.1] liblouderahiveodbc64.so file not found

New Contributor

Hi everybody.

I have problem using latest Cloudera Hive ODBC Driver for 64-bit AIX 2.6.9. On Linux host such configuration works flawlessly

 

 

$ oslevel -s
7100-03-05-1524
$ getconf KERNEL_BITMODE
64

 

 

It seems that isql works itself but cannot load driver with following message "file not found"

 

$ ../bin/isql_64 -v "Cloudera Hive 64-bit" user pass
[01000][unixODBC][Driver Manager]Can't open lib '/build/lib/libclouderahiveodbc64.so' : file not found
[ISQL]ERROR: Could not SQLConnect

 

 

UnixODBC as well as driver are 64-bit. Isql is working itself

 

 

$ file /build/lib/libclouderahiveodbc64.so
/build/lib/libclouderahiveodbc64.so: 64-bit XCOFF executable or object module not stripped
$ file ../bin/isql_64
../bin/isql_64: 64-bit XCOFF executable or object module
$ ../bin/isql_64 --version
unixODBC 2.3.9

 

 

Library paths are set properly:

 

 

echo $LIBPATH
/build/lib
$ echo $LD_LIBRARY_PATH
/build/lib

 

 

Environment variables are pointing to my configs which also seem fine:

 

 

$ env | grep INI
CLOUDERAHIVEINI=/build/lib/cloudera.hiveodbc.ini
ODBCSYSINI=/build/etc
ODBCINI=/build/etc/odbc.ini

 

 

Driver is pointed correctly in *.ini files

 

$ cat /build/etc/odbc.ini  | grep Driver
Cloudera Hive 64-bit=Cloudera ODBC Driver for Apache Hive 64-bit
Description=Cloudera ODBC Driver for Apache Hive (64-bit) DSN
# Driver: The location where the ODBC driver is installed to.
Driver=/build/lib/libclouderahiveodbc64.so

$ cat /build/etc/odbcinst.ini | grep Driver
[ODBC Drivers]
Cloudera ODBC Driver for Apache Hive 64-bit=Installed
[Cloudera ODBC Driver for Apache Hive 64-bit]
Description=Cloudera ODBC Driver for Apache Hive (64-bit)
Driver=/build/lib/libclouderahiveodbc64.so

 

 

Anybody have clue what can be the problem?

Thanks,

Paul