[Zope-DB] Problem building DCOracle2 in AIX 5.1
Debojit Hazarika
debojit.hazarika at db.com
Mon Nov 22 01:11:23 EST 2004
Hello Matt/Dieter,
Many thanks for your effort and help.
I was finally able to make it work. In fact i was able to make both DCOracle and DCOracle2 work for Oracle 9i
Somewhere in the mailing list i got the information that a DCOracle or DCOracle2 build for 8i should also work for 9i
apart from some additionals in 9i. ( http://mail.zope.org/pipermail/zope-db/2003-October/002298.html )
This however put me to the right direction and hence i got a glance in the below information somewhere
=======================================================================================
Oracle 8 installs 32-bit libraries in $ORACLE_HOME/lib and 64-bit libraries in $ORACLE_HOME/lib64
Oracle 9i installs 64-bit libraries in $ORACLE_HOME/lib and 32-bit libraries in $ORACLE_HOME/lib32
This caused DCOracle2 to fail, since it was connecting to the 64-bit version of libclntsh.so instead of the
32-bit. libclntsh.so is the Oracle client library.
========================================================================================
Based in this information i set my environment in the below way:
LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
LIBPATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib
And...Bravo..It started working.....
Hence a DCOracle or DCOracle2 build for 8i works efficiently with 9i as well if the library path is set to point $ORACLE_HOME/lib32
Many thanks again,
Regards
Deb
Dieter Maurer
<dieter at handshake To: "Matthew T. Kromer" <matt at bane.mi.org>
.de> cc: Debojit Hazarika/Zentrale/DeuBaExt at Zentrale, zope-db at zope.org
Subject: Re: [Zope-DB] Problem building DCOracle2 in AIX 5.1
20/11/04 23:19
Matthew T. Kromer wrote at 2004-11-19 21:54 -0500:
>No, in this case, its just wierd AIX linker-isms.
But why happens this only for linking against Oracle 9
(and not for Oracle 8)?
--
Dieter
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the Zope-DB
mailing list