Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^6: DBD::ODBC install can't find boot_DBI

by DanEllison (Beadle)
on Oct 09, 2017 at 15:54 UTC ( #1201015=note: print w/replies, xml ) Need Help??


in reply to Re^5: DBD::ODBC install can't find boot_DBI
in thread DBD::ODBC install can't find boot_DBI

Both machines return C:\Windows\system32\cmd.exe.
  • Comment on Re^6: DBD::ODBC install can't find boot_DBI

Replies are listed 'Best First'.
Re^7: DBD::ODBC install can't find boot_DBI
by pryrt (Monsignor) on Oct 09, 2017 at 18:07 UTC

    Further to ++soonix's good questions: Are you in the 64-bit cmd.exe on both machines? You can check Task Manager, which shows cmd.exe *32 for the 32-bit cmd.exe, and just cmd.exe for the 64-bit version. Inside cmd.exe, you can also check (see here for details): run set, and look at especially the PROCESSOR_ARCHITECTURE and PROCESSOR_ARCHITEW6432: the first should be AMD64 or similar in a 64-bit cmd.exe, and x86 in a 32-bit cmd.exe; the second is only defined in 32-bit cmd.exe, and should be AMD64.

    How this will help fix the problem, I am not sure... but it might point to where the difference lies.

      Verified in Task Manager, both are running 64bit cmd.exe. In fact, on both machines, the cmd.exe Is started in the same way. Our desktop support folks use MKS Toolkit. So, I have a perl script which chops MKS Toolkit out of the path, reorders Strawberry to the front, and sets up a few other environment variables before starting the cmd.exe.
Re^7: DBD::ODBC install can't find boot_DBI
by soonix (Canon) on Oct 09, 2017 at 17:35 UTC
    Mysterious.

    Perhaps perl is invoked on one computer using a .BAT file, and on on the other using a .CMD?

    If you open a command prompt, and enter DIR C:\ - does it show "Program Files" and "Program Files (x86)", or "PROGRA~1" and "PROGRA~2"?

    and: is the PATH the same on both machines?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-05-21 00:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (76 votes). Check out past polls.

    Notices?