Forum Moderators: coopster & phranque

Message Too Old, No Replies

Problem installing Perl modules

Perl can't find the *.dll lib file for modules

         

hyperbole

7:11 pm on Mar 17, 2004 (gmt 0)

10+ Year Member



I have tried to install several Perl moduels on my machine (it runs Win98). I'm using Activeperl, v5.6.0 built for MSWin32-x86-multi-thread, and I have downloaded several modules from ActiveState.

I have tried to install these packages using 'PPM install' and by hand. Each time the install succeeds, but when I run a perl program to test the install, I get a message that a library file is not available. I thought that the problem might be with the particular madule I was trying to install so I tried it with a couple of others and got similar messages.

One of the modules I am trying to install is DB_File. After installing, when I run a test program I get the following message:


Can't load 'C:/Perl/lib/auto/DB_File/DB_File.dll' for module DB_File

The files DB_File.dll, DB_File.lib, DB_File.bs, and DB_File.exp all exist in the given directory.

Has anyone run across a problem like this before and how did you fix it?

hyperbole

6:48 pm on Mar 19, 2004 (gmt 0)

10+ Year Member



I fixed the problem.

It was cause by some files left over from an earlier attempt to install that had failed. The extra files left over by the previous install were getting in the way of perl finding the right *.dll.