[Zope] trouble compiling DCOracle

Ayhan Ergul ergul@ccs.neu.edu
Sat, 14 Oct 2000 22:30:16 -0400 (EDT)


> The output from *make* had a number of errors, but compiled the shared
> objects:

Warnings from C compilers are always part of the fun! They say something
can potentially be/go wrong, but not necessarily so. Take a deep breath
and move on.

> Testing the created shared object files went something like this:
>
> [sweetrig@shamalama src]# python DCOracle_test.py
> Traceback (innermost last):
>   File "DCOracle_test.py", line 1, in ?
>     import Buffer, oci_, sys
> ImportError: libclntsh.so.8.0: cannot open shared object file: No such
> file or directory


Make sure your ORACLE_HOME environment var is properly set before running
the test script. You'll probably want to put it in your zope start script
too.


Ayhan Ergul <ergul@acm.org>