in reply to Purple/Pidgin perl plugin load error
This is a late reply... but...
If you do the following, there is no need to links against glib. (Order does matter)
use Glib; use Purple;
To get around the purple_perl_callXS error, you have to use LD_PRELOAD='' (or link against purple-2/perl.so, libpurple.so)
LD_PRELOAD='libpurple.so /location/to/lib/purple-2/perl.so' perl -MGli +b -MPurple ...
But loading libpurple this way is pointless, since the current perl glue only exists so that a plugin can be written in perl. To actually write a client in perl some more glue is required. I started working on that glue (and it seems to work for me), and posted it at this link (there is an example in the libpurple/plugins/perl/scripts/nullclient.pl file after patching)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Purple/Pidgin perl plugin load error
by Crackers2 (Parson) on Jun 11, 2007 at 20:15 UTC | |
by zdeqb (Novice) on Jun 11, 2007 at 20:49 UTC | |
by Crackers2 (Parson) on Jun 12, 2007 at 02:13 UTC | |
by zdeqb (Novice) on Jun 12, 2007 at 04:58 UTC | |
by Crackers2 (Parson) on Jul 17, 2007 at 17:21 UTC |