<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>AW: [Zope-DB] Install problems with DCOracle2 and Oracle 9.1.0</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hi Matthew,</FONT>
</P>
<P><FONT SIZE=2>i made the changes and after that the zope server starts without problems, but i find not a entry in the list "select type to add" for the Oracle connection. </FONT></P>
<P><FONT SIZE=2>Do you have any idea ?</FONT>
</P>
<BR>
<P><FONT SIZE=2>Norbert Vogelgesang</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Ursprüngliche Nachricht-----</FONT>
<BR><FONT SIZE=2>Von: Matthew T. Kromer [<A HREF="mailto:matt@zope.com">mailto:matt@zope.com</A>]</FONT>
<BR><FONT SIZE=2>Gesendet: Dienstag, 16. September 2003 17:48</FONT>
<BR><FONT SIZE=2>An: Norbert Vogelgesang</FONT>
<BR><FONT SIZE=2>Cc: 'zope-db@zope.org'</FONT>
<BR><FONT SIZE=2>Betreff: Re: [Zope-DB] Install problems with DCOracle2 and Oracle 9.1.0</FONT>
</P>
<BR>
<P><FONT SIZE=2>Unfortunately, the version of libc you have installed is not compatible </FONT>
<BR><FONT SIZE=2>with Oracle 9.1.</FONT>
</P>
<P><FONT SIZE=2>There *is* a workaround, wherein you rebuild your libclntsh.so files.</FONT>
</P>
<P><FONT SIZE=2>For RedHat 9, I think what I did was modify $ORACLE_HOME/bin/genclntsh </FONT>
<BR><FONT SIZE=2>to change the line that read</FONT>
</P>
<P><FONT SIZE=2>LD_SELF_CONTAINED="-z defs"</FONT>
</P>
<P><FONT SIZE=2>to instead be</FONT>
</P>
<P><FONT SIZE=2>LD_SELF_CONTAINED=""</FONT>
</P>
<P><FONT SIZE=2>and I also changed</FONT>
</P>
<P><FONT SIZE=2>SYSLIBS=`cat ${ORACLE_HOME}/lib/sysliblist`" -laio -lm -lc"</FONT>
</P>
<P><FONT SIZE=2>to be</FONT>
</P>
<P><FONT SIZE=2>SYSLIBS=`cat ${ORACLE_HOME}/lib/sysliblist`" -ldl -lm -lc </FONT>
<BR><FONT SIZE=2>-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -lgcc"</FONT>
</P>
<P><FONT SIZE=2>and ran genclntsh to generate a new libclntsh.so file. Warning: I dont </FONT>
<BR><FONT SIZE=2>guarantee I did not leave out part the process, I'm only looking at </FONT>
<BR><FONT SIZE=2>genclntsh right now. I may have run a make with one of the makefiles </FONT>
<BR><FONT SIZE=2>that invokes genclntsh instead.</FONT>
</P>
<BR>
<P><FONT SIZE=2>Norbert Vogelgesang wrote:</FONT>
</P>
<P><FONT SIZE=2>> Hi,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> i have try to install the DCOracle2 adapter under SUSE linux 8.2 and </FONT>
<BR><FONT SIZE=2>> Oracle 9.1.0. I can't start zope after this installation and following </FONT>
<BR><FONT SIZE=2>> message is displayed in the /var/log/zope.debug.log file</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> 2003-09-16T17:10:37 PANIC(300) z2 Startup exception</FONT>
<BR><FONT SIZE=2>> Traceback (innermost last):</FONT>
<BR><FONT SIZE=2>> File /opt/zope/z2.py, line 585, in ?</FONT>
<BR><FONT SIZE=2>> File </FONT>
<BR><FONT SIZE=2>> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/Zope/__init__.py, </FONT>
<BR><FONT SIZE=2>> line 46, in startup</FONT>
<BR><FONT SIZE=2>> (Object: startup)</FONT>
<BR><FONT SIZE=2>> File </FONT>
<BR><FONT SIZE=2>> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/Zope/App/startup.py, </FONT>
<BR><FONT SIZE=2>> line 45, in startup</FONT>
<BR><FONT SIZE=2>> File </FONT>
<BR><FONT SIZE=2>> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, </FONT>
<BR><FONT SIZE=2>> line 500, in import_products</FONT>
<BR><FONT SIZE=2>> File </FONT>
<BR><FONT SIZE=2>> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, </FONT>
<BR><FONT SIZE=2>> line 522, in import_product</FONT>
<BR><FONT SIZE=2>> File /opt/zope/lib/python/Products/ZOracleDA/__init__.py, line 37, in ?</FONT>
<BR><FONT SIZE=2>> File /opt/zope/lib/python/Products/ZOracleDA/DCOracle2.py, line 104, </FONT>
<BR><FONT SIZE=2>> in ?</FONT>
<BR><FONT SIZE=2>> ImportError: </FONT>
<BR><FONT SIZE=2>> /opt/oracle/app/oracle/product/9.0.1/lib/libclntsh.so.9.0: undefined </FONT>
<BR><FONT SIZE=2>> symbol: __cmpdi2</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Can anyone help me ?</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Regards,</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>> Norbert Vogelgesang</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>_______________________________________________</FONT>
<BR><FONT SIZE=2>>Zope-DB mailing list</FONT>
<BR><FONT SIZE=2>>Zope-DB@zope.org</FONT>
<BR><FONT SIZE=2>><A HREF="http://mail.zope.org/mailman/listinfo/zope-db" TARGET="_blank">http://mail.zope.org/mailman/listinfo/zope-db</A></FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>></FONT>
</P>
<BR>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Matt Kromer</FONT>
<BR><FONT SIZE=2>Zope Corporation <A HREF="http://www.zope.com/" TARGET="_blank">http://www.zope.com/</A> </FONT>
</P>
</BODY>
</HTML>