Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

by perldigious (Priest)
on Jan 30, 2020 at 14:50 UTC ( #11112095=note: print w/replies, xml ) Need Help??


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

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.
  • Comment on Re^3: DBD::Oracle::st fetchrow_hashref failed: ORA-25401

Replies are listed 'Best First'.
Re^4: DBD::Oracle::st fetchrow_hashref failed: ORA-25401
by pryrt (Prior) on Jan 30, 2020 at 15:07 UTC
    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
Node Status?
node history
Node Type: note [id://11112095]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2020-05-28 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (165 votes). Check out past polls.

    Notices?