[Zope-DB] Install problems with DCOracle2 and Oracle 9.1.0

Matthew T. Kromer matt at zope.com
Tue Sep 16 11:47:47 EDT 2003


Unfortunately, the version of libc you have installed is not compatible 
with Oracle 9.1.

There *is* a workaround, wherein you rebuild your libclntsh.so files.

For RedHat 9, I think what I did was modify $ORACLE_HOME/bin/genclntsh 
to change the line that read

LD_SELF_CONTAINED="-z defs"

to instead be

LD_SELF_CONTAINED=""

and I also changed

SYSLIBS=`cat ${ORACLE_HOME}/lib/sysliblist`" -laio -lm -lc"

to be

SYSLIBS=`cat ${ORACLE_HOME}/lib/sysliblist`" -ldl -lm -lc 
-L/usr/lib/gcc-lib/i386-redhat-linux/3.2.2 -lgcc"

and ran genclntsh to generate a new libclntsh.so file.  Warning: I dont 
guarantee I did not leave out part the process, I'm only looking at 
genclntsh right now.  I may have run a make with one of the makefiles 
that invokes genclntsh instead.


Norbert Vogelgesang wrote:

> Hi,
>
> i have try to install the DCOracle2 adapter under SUSE linux 8.2 and 
> Oracle 9.1.0. I can't start zope after this installation and following 
> message is displayed in the /var/log/zope.debug.log file
>
> 2003-09-16T17:10:37 PANIC(300) z2 Startup exception
> Traceback (innermost last):
>   File /opt/zope/z2.py, line 585, in ?
>   File 
> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/Zope/__init__.py, 
> line 46, in startup
>     (Object: startup)
>   File 
> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/Zope/App/startup.py, 
> line 45, in startup
>   File 
> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, 
> line 500, in import_products
>   File 
> /var/tmp/zope-2.6.2b3-dzug_buildroot/opt/zope/lib/python/OFS/Application.py, 
> line 522, in import_product
>   File /opt/zope/lib/python/Products/ZOracleDA/__init__.py, line 37, in ?
>   File /opt/zope/lib/python/Products/ZOracleDA/DCOracle2.py, line 104, 
> in ?
> ImportError: 
> /opt/oracle/app/oracle/product/9.0.1/lib/libclntsh.so.9.0: undefined 
> symbol: __cmpdi2
>
>
> Can anyone help me ?
>
> Regards,
>
>
> Norbert Vogelgesang
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Zope-DB mailing list
>Zope-DB at zope.org
>http://mail.zope.org/mailman/listinfo/zope-db
>  
>


-- 
Matt Kromer
Zope Corporation  http://www.zope.com/ 





More information about the Zope-DB mailing list