[Zope] problems with DCOracle

Andy Pahne ap@net22.net
Thu, 20 Apr 2000 13:46:28 +0200


Hi there,

I have problems with the DCOracle Product.

Here is the traceback:

DCOracle Import Traceback
Traceback (innermost last):
  File "/usr/local/src/Zope-2.1.6-src/lib/python/OFS/Application.py", line
387, in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File "/www/zope/lib/python/Products/DCOracle/__init__.py", line 66, in ?
    from ocidb import Connect, error
  File "/www/zope/lib/python/Products/DCOracle/ocidb.py", line 50, in ?
    import oci_, ociCurs, ociProc
ImportError: libnjni8.so: cannot open shared object file: file or directory
not found



libnjni8.so is there, in ORACLE_HOME/lib

but how the hell  do I  make my Zope find this library? I tried to link it
into my python-path, into the DCOracle-directory, I tried to run zope as the
Oracle-system-user... but without success...

By the way one question: What did you do with the DCOracle-directory after
compiling DCOracle? I did not found anything about this point in the
README.txt or on the Zope site. And because I'm not that familiar with
Python or system-administration I'm not really sure what to do with it. I
copied it into   .../zope/lib/python/Products



Andy Pahne, ap@net22.net