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

Greetings Monks:

I've been using the CPAN of late to find out what useful perl I can come up with ,and while attempting to get some Xchat scripts to function I have needed a number of modules. This situation I am facing now is rather perplexing (perl never lets you off the hook).
The following error is reported upon attempting to implement the Xmms module:
perl -MXmms -e shell Can't load '/usr/local/lib/perl/5.8.4/auto/Xmms/Remote/Remote.so' for +module Xmms::Remote: /usr/local/lib/perl/5.8.4/auto/Xmms/Remote/Remot +e.so: undefined symbol: xmms_remote_get_playlist_file at /usr/lib/per +l/5.8/DynaLoader.pm line 225. at /usr/local/lib/perl/5.8.4/Xmms.pm line 4 Compilation failed in require at /usr/local/lib/perl/5.8.4/Xmms.pm lin +e 4. BEGIN failed--compilation aborted at /usr/local/lib/perl/5.8.4/Xmms.pm + line 4. Compilation failed in require. BEGIN failed--compilation aborted.

while installing the module Xmms:Remote produces:
cpan> install Xmms::Remote CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Thu, 09 Jun 2005 05:58:24 GMT Xmms::Remote is up to date.

What could be going on here?
As per usual this user community is the only thing that makes modules practical for my level of coding. Any help would be appreciated.

Replies are listed 'Best First'.
Re: Can not locate Xmms::Remote
by tlm (Prior) on Jun 10, 2005 at 16:44 UTC

    One possible explanation is that the perl that you get when you type "perl" on your shell is different from the one that cpan is using. Or else there is some misconfiguration in your CPAN/MyConfig.pm. How do you invoke the cpan shell?

    the lowliest monk

Re: Can not locate Xmms::Remote
by blue_cowdawg (Monsignor) on Jun 10, 2005 at 17:30 UTC

    At this point fellow monk I would consider deleting the CPAN configuration file you have and re-creating it from scratch.

    Last I checked 1+1 is not equal to 5 and that's what you're telling me now...

Re: Can not locate Xmms::Remote
by dReKurCe (Scribe) on Jun 10, 2005 at 16:51 UTC
    I invoke the CPAN shell running as root by :
    perl -MCPAN -eshell