Re: ODBC isql error while testing

2010-09-08 Thread Carl Steinbach
Hi Ariel, Here are a couple more things to try: 1) Force libhiveodbc.so to be loaded first by setting the LD_PRELOAD environment library: % LD_PRELOAD=/usr/local/unixODBC/lib/libodbchive.so isql -v Hive It turns out that SQLAllocEnv is defined in both libodbchive.so *and* libodbc.so. I have

Re: ODBC isql error while testing

2010-09-07 Thread Ariel Leiva
All three .so files can be found in LD_LIBRARY_PATH and i am still getting the same error. Thanks for your suggestion. On Tue, Sep 7, 2010 at 1:41 AM, Ning Zhang nzh...@facebook.com wrote: It looks like isql cannot load libodbchive.so. Please make sure that all three .so files libodbchive.so,

Re: ODBC isql error while testing

2010-09-07 Thread Ning Zhang
Something you can check out are: - Did you compiled and deployed your code in different environment (Linux/C compier version)? If so there might incompatibility issues in the kernel/C .so files - Can you check 'ldd isql' and see which .so files it loads? Particularly libodbc.so should be

Re: ODBC isql error while testing

2010-09-06 Thread Ning Zhang
It looks like isql cannot load libodbchive.so. Please make sure that all three .so files libodbchive.so, libhiveclient.so, and libthrift.so can be found in LD_LIBRARY_PATH. On Sep 4, 2010, at 1:31 PM, Ariel Leiva wrote: Hi, i built Hive odbc driver following