DCOracle2/python/zope

Marcel Hartmann kvntechnik at kvn.de
Thu Dec 1 10:48:03 EST 2005


Hi,

I have problems to get ZOracleDA run in Zope - I cannot found a solution 
  wheter in Zope Groups nor searching google and I think it's a python 
problem. The connection in python - without zope - functions without 
problems and the missing library (see errors later) is obviously found. 
Is it possible to set an library path for python? I tested changing the 
ld.conf.so and running ldconfig or setting LD_LIBRARY_PATH environment 
var, but without success. I am running SuSE 9.3/Python 2.4/DCOracle2 
1_3b/PDO 1.3.1
I get the following error starting the zope server:

2005-12-01T16:33:08 ERROR(200) Zope Couldn't install ZOracleDA
Traceback (most recent call last):
   File "/opt/zope/lib/python/OFS/Application.py", line 723, in 
install_product
     global_dict, global_dict, silly)
   File "/opt/zope/lib/python/Products/ZOracleDA/__init__.py", line 91, in ?
     import DA
   File "/opt/zope/lib/python/Products/ZOracleDA/DA.py", line 90, in ?
     from db import DB
   File "/opt/zope/lib/python/Products/ZOracleDA/db.py", line 89, in ?
     import DCOracle2, DateTime
   File "/opt/zope/lib/python/Products/ZOracleDA/DCOracle2/__init__.py", 
line 37, in ?
     from DCOracle2 import   *
   File 
"/opt/zope/lib/python/Products/ZOracleDA/DCOracle2/DCOracle2.py", line 
104, in ?
     import dco2
ImportError: libclntsh.so.10.1: cannot open shared object file: No such 
file or directory



More information about the Python-list mailing list