Is it exported? Try this real quick at the command line
foo=6
bar=9
export bar
perl -e 'print qq(foo is $ENV{foo}, bar is $ENV{bar})'
See the difference?
Now try
perl -e 'print qq(ORACLE_HOMEis $ENV{ORACLE_HOME})'
If you don't get a value, make sure you export ORACLE_HOME before you build. If
you do get a value, then I suspect it is getting wiped out and not reset in your
build process.
Happy Hunting.
--
Matthew Persico
Vice President
Lazard
30 Rockefeller Plaza
New York, NY 10020, USA
Phone Number: 212 632 8255
Fax Number: 212 332 5904
Email: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
[EMAIL PROTECTED] cc:
28 Aug 2003 06:24 PM Subject: ORACLE_HOME environment
variable must be set
I am getting this error:
ORACLE_HOME environment variable must be set
but when I type:
echo $ORACLE_HOME
I get:
/opt/oracle/product/9.2.0
Seems the ORACLE_HOME is set.
I have Oracle 9i R2 installed on Redhat9
Can anyone help with this error?