If the error mentions DynaLoader.pm, then the module itself can be found; it is rather a dynamic component of the module that is missing.
For example, the Socket module has a Socket.pm file,
and a Socket.so file (on Unix) that is loaded by DynaLoader.
When you get an error like the one you mentioned, it's either because the module's extra file is missing, or is installed but with the wrong permissions for the current user. The dynamic library file for a module should be in the auto/ directory under the architecture-specific directory.
If Win32/ODBC.pm is at C:/perl/lib/perl5/5.00503/Win32/ODBC.pm,
then the dynamic library file would probably be at
C:/perl/lib/perl5/5.00503/MSWin32-x86/auto/Win32/ODBC/ODBC.dll. (Assuming that MSWin32-x86 is the architecture name and .dll is the dynamic library extension.)
If you don't find the dynamic library file, try reinstalling the module; if you do find it, make sure that it has the right permissions.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.