Gaim.pm perl module bug

Dave Cross davorg at gmail.com
Mon Aug 23 12:58:24 UTC 2004


On Sun, 22 Aug 2004 11:01:35 -0700, michel LeBlond <sidbird at telus.net> wrote:
> I am very much wanting to code perl plugins for Gaim.
> When I use call Gaim in my scripts the following error is
> generated.
> 
> perl: error while loading shared libraries:
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/auto/Gaim/Gaim.so: undefined symbol: gaim_perl_callXS
> [michel at localhost plugins]$
> 
> I have tried renaming the perl module that came with Fedora 2 and
> installing just that piece from the Gaim.rpm.   The Perl module was
> resinstalled fine.  Only problem is it still generates the same error
> 
> ANy ideas ?

Looks like Gaim.pm isn't available on CPAN. All of the parts required
to use it look like they are included with the gaim RPM.

$ rpm -ql gaim | grep 'Gaim'
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/Gaim.pm
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gaim
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gaim/.packlist
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gaim/Gaim.bs
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gaim/Gaim.so
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gaim/autosplit.ix
/usr/share/man/man3/Gaim.3pm.gz

However, when trying to use it, I get the same problems as you.

$ perl -MGaim -le'print "hello\n"'
perl: symbol lookup error:
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/auto/Gaim/Gaim.so:
undefined symbol: gaim_perl_callXS
$

You might solve the problem if you could rebuild the Perl module and
install it from source, but as I said before, it's not on CPAN and I
can't seem to find it anywhere else on the web.

My best suggestion would be to contact the author Christian Hammond,
<chipx86 at gnupdate.org>.

Dave...





More information about the fedora-list mailing list