I went back and re-installed DBI and the problem appears to be originating there. I also have another system which should be the same setup where I am already using DBI and DBD::ODBC with no issue. I've gone back and compare versions and even run the DBI install on that box as well. Makefiles and compiler options look the same. Here is where I see the first differene during the install:

... "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- dbilogs +trip blib\script\dbilogstrip pl2bat.bat blib\script\dbilogstrip TIMB/DBI-1.637.tar.gz C:\STRAWB~1\c\bin\dmake.exe -- OK Running make test "C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::H +arness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\l +ib', 'blib\arch')" t/*.t # --- Perl 5.020003 on MSWin32-x64-multi-thread # Failed test 'use DBI;' # at t/01basics.t line 43. # Tried to use 'DBI'. # Error: Can't find 'boot_DBI' symbol in C:\STRAWB~1\cpan\build\D +BI-1.637-3\blib\arch/auto/DBI/DBI.xs.dll # at C:\STRAWB~1\cpan\build\DBI-1.637-3\blib\lib/DBI.pm line 284. # BEGIN failed--compilation aborted at C:\STRAWB~1\cpan\build\DBI-1.63 +7-3\blib\lib/DBI.pm line 284. # Compilation failed in require at t/01basics.t line 43. # BEGIN failed--compilation aborted at t/01basics.t line 43. Bareword "SQL_GUID" not allowed while "strict subs" in use at t/01basi +cs.t line 54. Bareword "SQL_WLONGVARCHAR" not allowed while "strict subs" in use at +t/01basics.t line 55. Bareword "SQL_WVARCHAR" not allowed while "strict subs" in use at t/01 +basics.t line 56. ...

On the machine that doesn't have any problems, I get this "Error: Can't find 'boot_DBI', nor the Bareword warnings. The tests run successfully.


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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.