Bill,

There's no need to change your ORACLE_HOME to connect to 
a different database, just leave it set to the ORACLE_HOME that
the DBD was compiled with.

I use this to connect to Oracle databases from 7.3.4 to 8.1.7.3, both
from Solaris, NT 4.0 and Win2k.  

Jared


On Thursday 07 March 2002 15:35, William R Ward wrote:
> Where I work we have a variety of versions of Oracle installed in
> various possible values of $ORACLE_HOME.  It is necessary to have the
> environment variable $ORACLE_HOME match the version under which
> DBD::Oracle was compiled, in order for it to work.  For example, if
> $ORACLE_HOME points to an 8.0.6 directory but DBD::Oracle was linked
> with 8.1.6, we get a rude segmentation fault.
>
> It would be nice to be able to find out which version of Oracle the
> DBD::Oracle was linked against so that we can give a more meaningful
> error message in this scenario.
>
> Any advice would be helpful.
>
> --Bill.

Reply via email to