Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can't locate NDBM_File.pm in @INC

Discussion in 'General Discussion' started by colet, Aug 27, 2009.

  1. colet

    colet Member

    Joined:
    Apr 26, 2006
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    151
    Hello,

    I wrote a perl script a few weeks ago that uses NDBM_File.pm. The script was working, but now dies with:
    Can't locate NDBM_File.pm in @INC

    Could a cpanel update cause this?

    When I run locate NDBM_File.pm, I find 10 other versions, but none seem to be in my include path.

    Thanks for any tips.

    --
    Cole
     
  2. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    166
    I believe the latest version of perl doesn't have this .

    What is the server perl version

    perl -v

    Just try to copy NDBM_File.pm to the server current perl path .That may help

    Or else let me know on which line of the script does it shows error .

    Does it have anything like

    Eval 'use AnyDBM_File';

    Try to remove that line.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice