RE: Oracle with ActiveState build 8xx

From: Lynn. Rickards (lynn_at_debscave.com)
Date: 02/27/04


To: "'Jeff Urlwin'" <jurlwin@esoftmatic.com>,	<Ron.Wantock@bench.com>,	<perl-win32-database@listserv.ActiveState.com>
Date: Fri, 27 Feb 2004 01:02:07 -0500


> >
> > Jeff,
> >
> > I upgraded to perl 5.8.3 and installed both the DBI and the
> > DBD::Oracle modules from your site. As you suspected, that
> > did not fix the problem.
>
> Unfortunately :(
>
>
> > When I was running the dumpbin utility, I realized that in my
> > previous email I mis-typed the error message that I was
> > getting. It's not the OCILobAppend function, it's
> > OCILobWriteAppend (if that makes any difference). Never the
> > less, The OCILobWriteAppend function is not exported from my
> > OCI.dll file (the other one is). I suspected that the
> > software I have installed was outdated, I guess this confirms
> > it. So I suppose I need to get some different software
> > loaded on my PC.
>
> Ok -- good news and bad news. That function is in the
> 8.1.7.4 client lib,
> but I can't tell you if it was in the 8.1.7. It seems pretty
> obvious that
> it's not in the 8.1.6.x that you have.
>
> >
> > My next question is going to demonstrate my ignorance, but I
> > need to ask it. Exactly what should I be asking my IT
> > department to load onto my machine? I've asked them for the
> > "Oracle Client" software, but they don't seem to understand
> > what I'm asking for. They gave me this "Oracle Developer"
> > software and told me that the client software is included in
> > it. I doubt that's true though because it doesn't have any
> > of the directories/files that I would need to build the DBD
> > module myself (\LIB, \OCI, ...), so I'm assuming that there
> > must be something else available. I have near zero Oracle
> > experience, so it's possible I'm just not using the right
> > terminology, on the other hand, maybe they're just playing dumb.
>
> Ok -- in order to build directly, you will need the client
> libs and the OCI
> libs. They are correct that the client libs are included and they may
> (probably) have the option to install the OCI libs too when
> they do install
> it. Usually, you have to go into custom install or do a
> "full" install.
>
> That said, it's possible that with a version with out that,
> you'll have to
> back off a rev or two in DBD::Oracle to avoid that function.
>
> I would suggest that you ask them for the 8.1.7 client
> install and if that
> doesn't work (i.e. that function is not in 8.1.7 directly),
> then you can
> patch it to 8.1.7.4, I'm sure. If you have a valid license
> of Oracle, the
> 8.1.7 client should be downloadable still somewhere on
> Oracle's site. If
> not, the 9x client should work, too.
>
> Regards,
>
> Jeff
>

FWIW I am using 8.1.7 which was good to build last time -
I'll guess 9 months ago, but now long.t fails with a
bunch of (eg):

...
ok 151
ok 152
# failed test 153 at line 328.
not ok 153
error: ORA-24801: illegal parameter value in OCI lob function
(DBD ERROR: OCILobWriteAppend)
 If you're using Oracle < 8.1.7 then the OCILobWriteAppend error is probably
 due to Oracle bug #886191 and is not a DBD::Oracle problem
41 locator: OCILobLocatorPtr=SCALAR(0x1ca48dc)
ok 154
...

A quick google brings up thread:
http://www.mail-archive.com/dbi-users@perl.org/msg20034.html
which may be enlightening. Or at least offer some more insight...

And BTW Ron since you're planning threads, are you aware of the
warning on building DBI:

  CPAN.pm: Going to build T/TI/TIMB/DBI-1.41.tar.gz

*** You are using a perl configured with threading enabled.
*** You should be aware that using multiple threads is
*** not recommended for production environments.

-Lynn.



Relevant Pages

  • Re: DBD-Oracle 1.19 with Oracle Instant Client 10.2.0.3 on Debian Etch wont install
    ... Currently all my Oracle inst client files are user oracle group oinstall yet lib bin and other dirs have 755 permission so root should be able to access and execute these softlibs. ... As I have written, I have installed DBD::Oracle-1.19 many times with a full client without problem, yet with the limited instant client it does not find the mk file, and the one mk file that the instant client installs does not work. ... It also gives me a makefile for DBD::Oracle but install and test fail ...
    (perl.dbi.users)
  • RE: :Oracle install problem On Solaris 8
    ... I tried to reinstall the Oracle client. ... To: Hemanth Kumar; Michael Nhan ... Subject: RE::Oracle install problem On Solaris 8 ...
    (perl.dbi.users)
  • Re: Running oracle 8 or oracle 9 on RedHat9.x
    ... > because php doesn't work with the oracle 9 client. ... But I know for sure that PHP *does* work with Oracle9 client, ... ./runInstaller again and click "Install client" or something like that. ...
    (RedHat)
  • Getting DBD::Oracle tests working
    ... Attached is the output from one install attempt. ... I'm having trouble finding your Oracle version number... ... You can use "perl Makefile.PL -V X.Y.Z" to specify a your client version. ... all skipped: no reason given ...
    (perl.dbi.users)
  • Problem installing advanced client - ccmsetup service stays active.
    ... I am having a problem with 1 PCinstalling the advanced client. ... -Pushed client install from console but install ... SMS Advanced Client is not installed. ...
    (microsoft.public.sms.setup)