On 05/06/2005 05:22 PM, Saiyed, Khatir said:
I have build DBD::Oracle for 9.2.0 and works good on target Oracle 9.2.0 but when I try to connect to 8.1.7 I get following error:
DBI connect('','lut',...) failed: ERROR OCIEnvNlsCreate (check ORACLE_HOME and NLS settings etc.) at dbi8.pl line 11
You can connect to 8.1.7 instances using a DBD::Oracle compiled with 9.2.0, but ORACLE_HOME and the related environment variables ___MUST___ point to an Oracle installation of the version DBD::Oracle was built with.
Look at what I said in my previous email to you.
...-----Original Message----- From: Michael A Chase [mailto:[EMAIL PROTECTED] Sent: Sunday, May 01, 2005 6:00 AM To: Saiyed, Khatir Cc: [email protected] Subject: Re: Build dbd::oracle for both Oracle 8.x And Oracle 9.x
DBD::Oracle is built for a particular API, Oracle 8.1.7 or 9.2.0 in your case, and you must have ORACLE_HOME and the other associated variables pointing to an installation of that version when you run your perl script.
-- Mac :}) ** I usually forward private questions to the appropriate mail list. ** Ask Smarter: http://www.catb.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
