in reply to Not finding NDBM_File.pm

..oracle/product/12.2.0.1/perl/lib/5.22.0/Memoize>ls -ltr NDBM_File.pm -rwxr-xr-x 1 oracle dba 1488 May 12 2016 NDBM_File.pm

What you've found there is Memoize::NDBM_File, not NDBM_File. You need to check directly in the directories listed for @INC in that error message, not any of their subdirectories. Do you have that file there?

By the way, please use <code> tags to format input/output/code.

Replies are listed 'Best First'.
Re^2: Not finding NDBM_File.pm
by dirtdog (Monk) on Apr 07, 2020 at 17:08 UTC

    ok. I didn't realize that Memoize::NDBM_File was different.... that is the only version i have.

    I do have it in our old 5.10 libraries in ....5.10.0/x86_64-linux-thread-multi/NDBM_File.pm

    Could i just have that copied over to 5.22.0/x86_64-linux-thread-multi ?

      Could i just have that copied over to 5.22.0/x86_64-linux-thread-multi ?

      No, that that almost certainly won't work - IIRC it contains code that needs to be compiled, and even if it didn't, it's rarely a good idea to copy files into @INC directories manually. Unfortunately I don't know much about the Oracle Perl package, so I can't say whether they've simply stopped supporting it or if there's some other way to install it. Perhaps another Monk knows more (or the Oracle support does. That's why people pay for it, right? ;-) ).