[Zope-DB] Problem building DCOracle2 in AIX 5.1

Dieter Maurer dieter at handshake.de
Fri Nov 19 13:51:53 EST 2004


Debojit Hazarika wrote at 2004-11-19 18:34 +0530:
> ...
>But when i try to build the "dco2.so" pointing $ORACLE_HOME to an oracle 9 installation i end up getting the following errors:
>
>/myapp/python/lib/python2.1/ld_so_aix gcc -bI:/myapp/python/lib/python2.1/python.exp build/temp.aix-5.1-2.1/dco2.o -L$ORACLE_HOME/lib -lclntsh -o build/lib.aix-5.1-2.1/dco2.so
>ld: 0711-317 ERROR: Undefined symbol: .OCIErrorGet
>ld: 0711-317 ERROR: Undefined symbol: .OCIEnvCreate
>ld: 0711-317 ERROR: Undefined symbol: .OCIHandleAlloc
>ld: 0711-317 ERROR: Undefined symbol: .OCIServerAttach

Too possibilities:

  Oracle made incompatible changes between 8 and 9.
  In this case, the code would need to be adapted.

  Oracle repackaged the libraries (such that you now need additional
  libraries to link against).

Fortunately for you: I have read a message reporting a successful build
of DCOracle2 againt Oracle 9.
The poster had to make small changes to the build process.
Please search the mailing list archive, for details.

-- 
Dieter


More information about the Zope-DB mailing list