MrHappy has asked for the wisdom of the Perl Monks concerning the following question:

It's a newbie question, I'm sure, but I'm stumped so... I'm attempting to install the RIPEMD160.pm module, which belongs to Crypt. Inside the lib folder I have a folder called Crypt. In Crypt I have the RIPEMD160.pm module. When I attempt to use it, I get the following error:

# Can't find loadable object for module Crypt::RIPEMD160 in @INC

Can anyone shed some light on what I need to do?

Replies are listed 'Best First'.
Re: MacPerl: Installing a module
by btrott (Parson) on May 26, 2000 at 23:09 UTC
    RIPEMD160 is trying to load the shared object portion of itself. This may not have been installed properly. Do you have a C compiler on your Mac? Was the RIPEMD160 XS code compiled by the C compiler? If not, you'll have to get a binary distribution of the module, made specifically for the Mac.

    There's a list of MacPerl ports of CPAN modules, w/ binary distributions, at http://pudge.net/cgi-bin/mmp.plx.

    If you *have* compiled the shared library, then you may just need to modify @INC. I believe this is done in the Preferences menu, under Edit, in MacPerl.

Re: MacPerl: Installing a module
by MrHappy (Initiate) on May 26, 2000 at 23:12 UTC
    That's probably it. Once the .xs is compiled, would it reside in the same directory as the perl module?