Easysoft
ODBC Drivers for Oracle, SQL Server, Firebird, ISAM, InterBase, Sybase, MS Access & more.

Easysoft Data Access

Why do I get error "Initialization function SQLAllocConnect not found" when using Oracle Heterogenous Services (hsODBC) on AIX?

Article : 00916
Last Reviewed : 11th July 2007
Revision : 1

Assumptions:

On AIX, this problem occurs because hsODBC is linked against libodbc.so but the unixODBC you are using contains libodbc.so.1 in the libodbc.a archive. To check this:

  1. cd /usr/local/easysoft/unixODBC/lib

    -or-

    cd /lib

    -or-

    cd unixODBC_install_dir
  2. ar -tv libodbc.a

If this shows the archive contains libodbc.so.1 this is your problem and the solution is:

  1. Become root or whoever you need to be to create files in the unixODBC lib subdirectory.
  2. cd /usr/local/easysoft/unixODBC/lib

    -or-

    cd /lib

    -or-

    cd unixODBC_install_dir
  3. ar -xv libodbc.a

    This should extract the file libodbc.so.1 to the current directory.

  4. Rename libodbc.so.1:
    mv libodbc.so.1 libodbc.so
  5. Point HSODBC at it directly by amending the HS_FDS_SHAREABLE_NAME in your init[name].ora file to be:
    HS_FDS_SHAREABLE_NAME = /usr/local/easysoft/unixODBC/lib/libodbc.so

Restart your Oracle listener. Your link should now work.

Applies To

Knowledge Base Feedback

* Did this content help you?
Yes
No
Maybe
 
* Please select one option based on your first choice:
I'm very satisfied
I think it will help, but I haven't tried it yet
It is helpful, but I need more information
It is helpful, but hard to understand
Seemed relevant in search results, but didn't help me
The information is incorrect
The page contains one or more broken links
 
  Suggest new content or let us know how we can improve this content:

 
  (* Required Fields)   



© 1993 - 2008 Easysoft Limited. All rights reserved.