in reply to Purple/Pidgin perl plugin load error

I tried it and got the same response. I reinstalled pidgin and ran /sbin/ldconfig /usr/local/lib. Then I tried  perl -e 'use Purple;' and got no response. This worked for me:

perl -e 'use Purple; my $p = Purple->new; print "\n";'

Basically, the print cmd creates a purple.db using sqlite and prints it to the cwd.

Replies are listed 'Best First'.
Re^2: Purple/Pidgin perl plugin load error
by Crackers2 (Parson) on May 20, 2007 at 15:47 UTC

    How did you reinstall it? I tried removing/reinstalling the RPM, installing the source RPM and rebuilding from there, and building directly from the sources. In all three cases I end up with the same error.

    I tried your ldconfig command, but it didn't seem to make a difference.

    As an extra information point, my configure line is: ./configure --with-perl-lib=vendor --prefix=/usr

    Update: I recompiled adding --with-gnu-ld to the configure command line to match the reply below, but the result is still the same. Just to be sure I'll try without the prefix and vendor options.

    Update 2: Can't get Purple from CPAN to install either; it's failing the client tests. I'll just make a C plugin instead until Fedora updates glib/gtk or FC7 comes out.

      I built it directly from the source. My configure line was ./configure --with-gnu-ld. It installed into /usr/local/bin/pidgin and /usr/local/lib/pidgin.

      Update: I downloaded Purple from CPAN.

      Note: The glib and gtk rpms that came with the distribution had some problems, so I downloaded and installed glib2, gtk+ and all the dependencies from source and ran ldconfig on all of them.

        Late reply, but I think it's worth mentioning to avoid more confusion.

        The Purple (and Purple::Client and Purple::Server) modules on CPAN are completely unrelated to the Purple module that comes with libpurple.

        The Purple on CPAN probably existed before the one I'm looking for, and there wasn't any name conflict until libgaim got renamed to libpurple.