Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Install Module issue

by Herkum (Parson)
on Apr 30, 2007 at 11:51 UTC ( #612749=note: print w/replies, xml ) Need Help??

in reply to Install Module issue

The BerkeleyDB.ppd you are trying to install is version 0.22 and it is complaining that it needs 0.31.

I went and loaded up ppm and version 0.22 was in the Activestate repository. If you are using this on a *NIX system you can probably install the module via cpan install of ppm.

Replies are listed 'Best First'.
Re^2: Install Module issue
by ant (Scribe) on Apr 30, 2007 at 15:07 UTC
    If Dynaloader is complaining about the version number as I suspected, is there not a way of specifying the version number to be used for the module that you are calling.
    Tried looking this idea up and the code I could find went along these lines,

    use BerkeleyDB 0.22;

    But this failed to work, it still gave exactly the same error message.
    Can I specifically state which version of the Perl module to use?
      Can I specifically state which version of the Perl module to use?

      No - the first that gets found, gets loaded. If that's not the that you want then you'd need to re-arrange the order in which the directories are being searched, so that the one you want to load does get found first.

      But that's all beside the point anyway - things are broken and need to be fixed. Version 0.31 of is being loaded, but the BerleleyDB.dll that gets loaded is version 0.22. I would try uninstalling BerkeleyDB by running ppm remove BerkeleyDB and re-installing by running ppm install BerkeleyDB. If that doesn't take care of the mismatch then you might have to look at manually removing the BerkeleyDB installation(s) before re-installing it.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://612749]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2023-12-10 21:25 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (41 votes). Check out past polls.