[Pidgin] #17028: Can't load '/usr/local/lib/purple-2/perl/auto/Purple/Purple.so' for module Purple: /usr/local/lib/purple-2/perl/auto/Purple/Purple.so: undefined symbol: g_free at /usr/share/perl5/XSLoader.pm line 70.
Pidgin
trac at pidgin.im
Wed Jun 1 02:46:43 EDT 2016
#17028: Can't load '/usr/local/lib/purple-2/perl/auto/Purple/Purple.so' for module
Purple: /usr/local/lib/purple-2/perl/auto/Purple/Purple.so: undefined
symbol: g_free at /usr/share/perl5/XSLoader.pm line 70.
----------------------+------------------------
Reporter: jsynacek | Owner:
Type: defect | Status: new
Milestone: | Component: libpurple
Version: 2.10.12 | Resolution:
Keywords: |
----------------------+------------------------
Description changed by jsynacek:
Old description:
> Steps to reproduce:
>
> {{{
> 1) autoreconf -if
> 2) ./configure --enable-perl --disable-screensaver --disable-gtkspell
> 3) make -j5
> 4) sudo make install
> 5) perl -MPurple -I/usr/local/lib/purple-2/perl -e1
>
> Can't load '/usr/local/lib/purple-2/perl/auto/Purple/Purple.so' for
> module Purple: /usr/local/lib/purple-2/perl/auto/Purple/Purple.so:
> undefined symbol: g_free at /usr/share/perl5/XSLoader.pm line 70.
> at /usr/local/lib/purple-2/perl/Purple.pm line 52.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
> }}}
>
> Editing libpurple/plugins/perl/common/Makefile.PL and adding '-lglib-2.0'
> resolves the undefined reference to g_free(), but there's still a
> problem:
>
> {{{
> $ perl -MPidgin -I/usr/local/lib/purple-2/perl
> -I/usr/local/lib/pidgin/perl -e1
> perl: symbol lookup error:
> /usr/local/lib/purple-2/perl/auto/Purple/Purple.so: undefined symbol:
> purple_perl_callXS
> }}}
New description:
Steps to reproduce:
{{{
1) autoreconf -if
2) ./configure --enable-perl --disable-screensaver --disable-gtkspell
3) make -j5
4) sudo make install
5) perl -MPurple -I/usr/local/lib/purple-2/perl -e1
Can't load '/usr/local/lib/purple-2/perl/auto/Purple/Purple.so' for module
Purple: /usr/local/lib/purple-2/perl/auto/Purple/Purple.so: undefined
symbol: g_free at /usr/share/perl5/XSLoader.pm line 70.
at /usr/local/lib/purple-2/perl/Purple.pm line 52.
Compilation failed in require.
BEGIN failed--compilation aborted.
}}}
Editing libpurple/plugins/perl/common/Makefile.PL and adding '-lglib-2.0'
to OTHERLDFLAGS resolves the undefined reference to g_free(), but there's
still a problem:
{{{
$ perl -MPidgin -I/usr/local/lib/purple-2/perl
-I/usr/local/lib/pidgin/perl -e1
perl: symbol lookup error:
/usr/local/lib/purple-2/perl/auto/Purple/Purple.so: undefined symbol:
purple_perl_callXS
}}}
--
--
Ticket URL: <https://developer.pidgin.im/ticket/17028#comment:2>
Pidgin <https://pidgin.im>
Pidgin
More information about the Tracker
mailing list