You are not logged in.

#1 2007-11-04 11:59:11

piie
Member
Registered: 2007-02-20
Posts: 33

gmusicplayer cant load perl libs

when trying to start gmusicplayer (latest in pacman or dev package of aur) I get following error:

[piie@mentalhome ~]$ gmusicbrowser
Can't locate Gtk2.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i686-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl .) at /usr/bin/gmusicbrowser line 22.
BEGIN failed--compilation aborted at /usr/bin/gmusicbrowser line 22.

The package "local/gtk2-perl" which owns the file "/usr/lib/perl5/site_perl/current/i686-linux-thread-multi/Gtk2.pm" is installed and the file still exists.

Anybody an idea how this error can be resolved?

Offline

#2 2007-11-04 22:33:25

hobbes
Member
Registered: 2006-04-09
Posts: 2

Re: gmusicplayer cant load perl libs

For some reason your Gtk2.pm is not installed in one of the paths in @INC.
I don't know where the default paths in @INC are defined, but running :
PERL5LIB=/usr/lib/perl5/site_perl/current/i686-linux-thread-multi/ gmusicbrowser
should work. I think.

Offline

#3 2007-11-06 22:05:36

piie
Member
Registered: 2007-02-20
Posts: 33

Re: gmusicplayer cant load perl libs

Thanks, it is working with this commandline. But this path should be set automatically somewhere, shouldn't it?

Offline

Board footer

Powered by FluxBB