[Spread-users] Perl module for Spread not working - "cannot open shared object file" ?

Jan Mulders lastchancehotel at gmail.com
Thu Jun 28 18:12:50 EDT 2007

Hello all.

I'm having some trouble getting Spread's perl module to work properly under
Fedora Core.

I install Spread as follows:

cd /root/
tar -xvzf spread-src-3.17.4.tar.gz
cd spread-src-3.17.4
make install

cd perl/Spread
perl Makefile.PL
make install

...and then try to use the following script (only the first 5 lines or so
included) to listen for messages, and write each one to MySQL:

use strict;
use Spread; # qw(:SP :ERROR :MESS);
use Crypt::RC4;
use Mysql;
use vars qw{$time};

I have tried omitting and including the specific functions to use, as seen
above (by the qw).

I always get the following error:

Can't load
for module Spread: libspread.so: cannot open shared object file: No such
file or directory at
/usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
 at ./spread2mysql.pl line 3
Compilation failed in require at ./spread2mysql.pl line 3.
BEGIN failed--compilation aborted at ./spread2mysql.pl line 3.

Spread.so is in the correct place, however:
root at fdc6 [~]# locate Spread.so

... as is libspread...

root at fdc6 [~]# locate libspread.so
root at fdc6 [~]#

root at fdc6 [~]# locate DynaLoader.pm
root at fdc6 [~]#

...Does anyone have any ideas what the issue is? Spread itself runs fine,
spuser does the job, everything but Perl seems to be fine.

Any suggestions would be gratefully recieved.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20070628/c37475a4/attachment.html 

More information about the Spread-users mailing list