[Zope] DCOracle2 broken due to inability to map library

Bo M. Maryniuck b.maryniuk@forbis.lt
Tue, 26 Nov 2002 10:22:13 +0200


On Tuesday 26 November 2002 00:57, Paul Browning wrote:
> Now the clincher to making ZOracleDA to work (Step 3) is to
> edit your Zope start script to be something like this:
>
> #! /bin/sh
> reldir=3D`dirname $0`
> INST_HOME=3D`cd $reldir; pwd`
> export INST_HOME
> export ORACLE_HOME=3D/u01/app/oracle/product/8.1.7
> export LD_LIBRARY_PATH=3D$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
> exec /usr/bin/python2.1 \
>      $INST_HOME/z2.py \
>      -D "$@" &

Why not:

#! /bin/sh

=2E /oracle/ora_env

reldir=3D`dirname $0`
INST_HOME=3D`cd $reldir; pwd`
export INST_HOME
exec /usr/bin/python2.1 \
     $INST_HOME/z2.py \
     -D "$@" &

=2E..?

--=20
Regards, Bogdan

I am Lalo of deB-org. You will be freed. Resistance is futile.
=09=09-- from the sig of Lalo Martins