<!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 &quot;select type to add&quot; 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=&quot;-z defs&quot;</FONT>
</P>

<P><FONT SIZE=2>to instead be</FONT>
</P>

<P><FONT SIZE=2>LD_SELF_CONTAINED=&quot;&quot;</FONT>
</P>

<P><FONT SIZE=2>and I also changed</FONT>
</P>

<P><FONT SIZE=2>SYSLIBS=`cat ${ORACLE_HOME}/lib/sysliblist`&quot; -laio -lm -lc&quot;</FONT>
</P>

<P><FONT SIZE=2>to be</FONT>
</P>

<P><FONT SIZE=2>SYSLIBS=`cat ${ORACLE_HOME}/lib/sysliblist`&quot; -ldl -lm -lc </FONT>
<BR><FONT SIZE=2>-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -lgcc&quot;</FONT>
</P>

<P><FONT SIZE=2>and ran genclntsh to generate a new libclntsh.so file.&nbsp; 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.&nbsp; 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>&gt; Hi,</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; i have try to install the DCOracle2 adapter under SUSE linux 8.2 and </FONT>
<BR><FONT SIZE=2>&gt; Oracle 9.1.0. I can't start zope after this installation and following </FONT>
<BR><FONT SIZE=2>&gt; message is displayed in the /var/log/zope.debug.log file</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; 2003-09-16T17:10:37 PANIC(300) z2 Startup exception</FONT>
<BR><FONT SIZE=2>&gt; Traceback (innermost last):</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File /opt/zope/z2.py, line 585, in ?</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File </FONT>
<BR><FONT SIZE=2>&gt; /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/Zope/__init__.py, </FONT>
<BR><FONT SIZE=2>&gt; line 46, in startup</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (Object: startup)</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File </FONT>
<BR><FONT SIZE=2>&gt; /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/Zope/App/startup.py, </FONT>
<BR><FONT SIZE=2>&gt; line 45, in startup</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File </FONT>
<BR><FONT SIZE=2>&gt; /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, </FONT>
<BR><FONT SIZE=2>&gt; line 500, in import_products</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File </FONT>
<BR><FONT SIZE=2>&gt; /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, </FONT>
<BR><FONT SIZE=2>&gt; line 522, in import_product</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File /opt/zope/lib/python/Products/ZOracleDA/__init__.py, line 37, in ?</FONT>
<BR><FONT SIZE=2>&gt;&nbsp;&nbsp; File /opt/zope/lib/python/Products/ZOracleDA/DCOracle2.py, line 104, </FONT>
<BR><FONT SIZE=2>&gt; in ?</FONT>
<BR><FONT SIZE=2>&gt; ImportError: </FONT>
<BR><FONT SIZE=2>&gt; /opt/oracle/app/oracle/product/9.0.1/lib/libclntsh.so.9.0: undefined </FONT>
<BR><FONT SIZE=2>&gt; symbol: __cmpdi2</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Can anyone help me ?</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Regards,</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt; Norbert Vogelgesang</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;------------------------------------------------------------------------</FONT>
<BR><FONT SIZE=2>&gt;</FONT>
<BR><FONT SIZE=2>&gt;_______________________________________________</FONT>
<BR><FONT SIZE=2>&gt;Zope-DB mailing list</FONT>
<BR><FONT SIZE=2>&gt;Zope-DB@zope.org</FONT>
<BR><FONT SIZE=2>&gt;<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>&gt;&nbsp; </FONT>
<BR><FONT SIZE=2>&gt;</FONT>
</P>
<BR>

<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Matt Kromer</FONT>
<BR><FONT SIZE=2>Zope Corporation&nbsp; <A HREF="http://www.zope.com/" TARGET="_blank">http://www.zope.com/</A> </FONT>
</P>

</BODY>
</HTML>