Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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

by syphilis (Archbishop)
on Oct 07, 2017 at 23:43 UTC ( #1200920=note: print w/replies, xml ) Need Help??

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

On the machine that doesn't have any problems ...

Let me see if I've got this right.

On both machines you can run:
perl -MDBI=":sql_types" -le "print 1;"

and, on both machines, the following outputs 1.637:
perl -MDBI=":sql_types" -le "print $DBI::VERSION;"

But you can run the following command only on the machine that doesn't have any problems:
perl -MDBI=":sql_types" -le "print SQL_GUID;"

I think Strawberry-5.20.3 shipped with version 1.634 of DBI (at least that's the version I have), and I think you'll still have that version installed in vendor/lib.
I would try reverting to that version - which you could do by renaming site/lib/ to site/lib/DBI.pm_hide and site/lib/auto/DBI/DBI.xs.dll to site/lib/auto/DBI/DBI.xs.dll_hide.
If that fixes the problem (with the last of those one-liners) on the problem machine then it might give us something to work on.

Just rename those 2 files to their original names when you wish to revert back to using 1.637.


Replies are listed 'Best First'.
Re^3: DBD::ODBC install can't find boot_DBI
by DanEllison (Beadle) on Oct 09, 2017 at 15:45 UTC

    Couldn't print the version on the failed box. I had run a force install of DBI earlier, so besides renaming those files, I had to restore some files under vendor. But once I did that, then I was able to print the version.

    Then I went and tried to upgrade DBD::ODBC, but got a similar failure, Can't find boot_DBD__ODBC. I didn't force this, so didn't need to back anything out.

Log In?

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

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

    Results (76 votes). Check out past polls.