"Perhaps a required shared library or DLL is not installed where expected at Line 6."

Isn't the name of the script where the above error occurs listed? It usually is.

The reason I ask is because your sample code only has 5 lines, and I see nothing there that would cause the error you list. Obviously the error is coming from DBI.pm or one of the modules it loads. It would be very helpful to know which.

The fact that something is even looking for a file called perl56.dll on a system that only has 5.8 is smells funny. My gut feeling, given your explicit demonstration of the install procedure you used, is that the ActiveState repository have either mixed up a 5.6 PPM with their 5.8 PPMs or the 5.8 package was linked against the wrong set of libraries. It might be worth raising the problem with AS and see if they are aware of anything.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller

In reply to Re: DBI, Windows and Perl56.dll error by BrowserUk
in thread DBI, Windows and Perl56.dll error by Akira71

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.