[Zope] problems with DCOracle

Jens Vagelpohl Jens@digicool.com
Thu, 20 Apr 2000 08:53:38 -0400


hi andy,

make sure that after installing oracle you either put your oracle
library directory into your LD_LIBRARY_PATH environment variable or add
it to your /etc/ld.so.conf - file and run "ldconfig" as root afterwards.

jens

----

Jens Vagelpohl		jens@digicool.com
Software Engineer	      www.digicool.com
Digital Creations 	(888) 344-4332

Got Zope?

---- 
 

-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Andy
Pahne
Sent: Thursday, April 20, 2000 07:46
To: zope@zope.org
Subject: [Zope] problems with DCOracle




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