The way Win32 locates .dll dependancies of .exe's, is to first look in the directory where the executable is run from, before looking in various other standard places and finally looking in the directories specified in the PATH environment variable.

Your rather confusing description suggests that perl58.dll was located correctly when you did the install of dbi.ppd, otherwise the 'missing dll' error would have been reported at that point. Perl is probably installed correctly.

So, for this problem to occur when you are running your CGI script, it must mean that you (or more likely, your web server) is invoking a different copy of perl.exe.

If you copied perl.exe somewhere, and you did not also copy perl58.dll to the same location, then unless the bin directory of your standard installation is

  1. in your path -- eg. PATH= ....;C:\Program Files\ejd\perl\bin;...
  2. And the userid used by your webserver has the appropriate permissions to access that directory

There is no way for the OS to locate the dll.

You need to talk to a local LAN administrator in order to get your web server set up correctly. This isn't a perl problem.

And while your talking with them about that, you should also ask them about the PPM problem and see if whatever local restrictions are preventing you using PPM can be lifted or worked around.

Installing PPD's manually is a tricky business and requires a level of understanding that is is clear that you do not currently possess.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!


In reply to Re: perl58.dll, dbi, dbi.dll woes by BrowserUk
in thread perl58.dll, dbi, dbi.dll woes by Evyn

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.