Is there a way to staticly link perl DBD with Oracle9. So that it won't reference the ORACLE_HOME environment variable. (Since there really isn't any point of checking it anyways... it won't work with anything besides what it was compiled with)
-----Original Message----- From: Michael A Chase [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 1:48 PM To: Adam B. Edwards Cc: [EMAIL PROTECTED] Subject: Re: DBI On Fri, 12 Jul 2002 08:46:46 -0700 "Adam B. Edwards" <[EMAIL PROTECTED]> wrote: > I am running the latest version of DBI/DBD. > > A simple question. I compile DBI against Oracle 9. DBI is database independent. You compiled DBD::Oracle against Oracle 9. > If I try to connect to a database with the ORACLE_HOME set to Oracle 8 > it doesn't work. I ran truss on the command and it is failing because > it can't find the following file. (file appears to only come with > oracle 9) That is exactly what I'd expect. You compiled it Oracle 9, so ORACLE_HOME should point to a Oracle 9 directory tree. > Is this a bug ? Yes. You are trying to run a program compiled with the Oracle 9 libraries while pointing to Oracle 8 directories. Would you expect a program compiled for the Windows API to work correctly with CP/M? -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.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.
