[Zope-DB] Oracle 9i + Zope 2.7.2 + mxODBC + odbc-oracle

Rafahela Garcia Bazzanella rafabazzanella at yahoo.com.br
Wed Oct 27 16:13:02 EDT 2004

I was installing Oracle 9i + Zope 2.7.2 + mxODBC + odbc-oracle, but I'm
having problems...
These are the steps I followed:

Uncompressed the file odbc-oracle-2.1.0-linux-x86-glibc.tar.gz
Made ./install inside the directory uncompressed
Installed the package into /usr/local/easysoft
Answered the questions in this step
Obtained the license number
I didn't install unixODBC
Entered the Oracle Database Name
Entered the Oracle Database Name
Installed egenix-mx-base and egenix-mx-commercial
Changed mxCOMMERCIAL.py
Installed libiodbc
	Configured libiodbc (./configure
	Make install

Tested with: import mx.ODBC.unixODBC as mx
I got this error:


line 8, in ?
     from mxODBC import *
ImportError: libiodbc.so.2: cannot open shared object file: No such file
or directory

But I did this: export LD_LIBRARY_PATH=/usr/local/lib
Then worked, but when I tested this: db = mx.DriverConnect('databasename
user password)

I got this error:

   File "<stdin>", line 1, in ?
mxODBC.OperationalError: ('IM003', 0, '[iODBC][Driver Manager]Specified
driver could not be loaded', 6044)

What can I do?


More information about the Zope-DB mailing list