Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: DBD::Oracle::st fetchrow_hashref failed: ORA-25401

by Anonymous Monk
on Jan 30, 2020 at 01:04 UTC ( [id://11112062]=note: print w/replies, xml ) Need Help??


in reply to Re: DBD::Oracle::st fetchrow_hashref failed: ORA-25401
in thread RESOLVED - DBD::Oracle::st fetchrow_hashref failed: ORA-25401

o, I would replace --input-def by --def on line 330 of Makefile.PL and rerun the installation.

I would not. I would fix %PATH% to exclude some 50 year old version of dlltool. the dlltool.exe that comes with strawberryperl accepts --input-def option.

  • Comment on Re^2: DBD::Oracle::st fetchrow_hashref failed: ORA-25401

Replies are listed 'Best First'.
Re^3: DBD::Oracle::st fetchrow_hashref failed: ORA-25401
by perldigious (Priest) on Jan 30, 2020 at 14:50 UTC

    How can I update my system PATH to do this? I already have "C:\Strawberry\perl\bin" at the top. Doesn't that point it there first?

    Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.
      I already have "C:\Strawberry\perl\bin" at the top.

      But is that where dlltool.exe is found? You can use the Windows cmd.exe utility where to see all the locations of a given executable in your PATH -- in the order found; the first one listed will be the one that it runs. On my system, I only have one (with my highly-customized berrybrew wrapper around Strawberry perl):

      C:\>where dlltool C:\usr\local\apps\BERRYBREW\perls\system\c\bin\dlltool.exe

      I believe in a default Strawberry installation, the equivalent would be C:\Strawberry\c\bin. Note in Strawberry's portableshell.bat, they use set PATH=%~dp0perl\site\bin;%~dp0perl\bin;%~dp0c\bin;%PATH% -- they add three directories to the path. So if I were you, I would add set C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Strawberry\c\bin all before %ORACLE_HOME%\bin.

      (note: I do not know if the anonymous monk is looking down the right solution-trail, and whether fixing your PATH will solve your underlying problem. I just wanted to point out how to find out what copy of an executable is first in your PATH , and how to set your PATH so that all the Strawberry executables come before any that might be in the %ORACLE_HOME%\bin)

      --
      update: clarified the parenthetical

        Thanks, pryrt. That's useful info for me nonetheless. My original issue persists, so apparently just getting my DBD::Oracle module updated wasn't a fix for the problem I'm having.

        Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11112062]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2024-04-19 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found