You are not logged in.

#1 2015-07-27 08:40:39

Zappo-II
Member
Registered: 2014-10-16
Posts: 11

[SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

Hi there,

having a problem with shutter (screenshot app) since a while...

My struggles with solving this where unsuccessful so far, due to personal limitations regarding package handling, aur and perl...

I think since the perl update my shutter app is broken since it states:

/usr/bin/perl: symbol lookup error: /home/arch-un/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Glib/Glib.so: undefined symbol: Perl_xs_apiversion_bootcheck

Some threads I found state something like...rebuild your perl packages not installed with pacman (aka installed via aur or something called cpan)...

There is one thread somewhere which provides two shell scripts to do that, tried them but the more important one seems to also fault with Perl_xs_apiversion_bootcheck...

Uninstalling and reinstalling shutter using pacman / yaourt did not improve anything...

Obviously I am too stupid to understand perl package distribution / perl environment and architecture and perl application distribution to solve this by myself so any directions would be apreciated...

THX...

Last edited by Zappo-II (2015-07-28 08:23:05)

Offline

#2 2015-07-27 09:09:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

Run pacman -Qo on the file to see what owns it. Then remove it.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-07-27 09:23:43

Zappo-II
Member
Registered: 2014-10-16
Posts: 11

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

THX 4 reply, but been there, done that, got no t-shirt... hmm ...

[arch-un@weareborg ~]$ pacman -Qo /home/arch-un/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Glib/Glib.so
Fehler: Kein Paket besitzt /home/arch-un/perl5/lib/perl5/x86_64-linux-thread-multi/auto/Glib/Glib.so
[arch-un@weareborg ~]$ pacman -Qo shutter
/usr/bin/shutter ist in shutter 0.93.1-1 enthalten
[arch-un@weareborg ~]$

German error message translates to something like Error: No package owns...Glib.so......

As stated before, removing and reinstalling shutter didn't make any difference...

Sorry for being not smart enough to understand packageing and provisioning with pacman, yaourt/aur and cpan...

Any other directions...???

THX...

Offline

#4 2015-07-27 09:48:30

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

pkgfile will tell you which package contains a particular file.

# pacman -S pkgfile      # Install pkgfile

$ pkgfile Glib.so        # Find the package providing Glib.so
extra/glib-perl

# pacman -S glib-perl    # Install the package

Last edited by thisoldman (2015-07-27 09:48:57)

Offline

#5 2015-07-27 10:07:57

Zappo-II
Member
Registered: 2014-10-16
Posts: 11

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

THX, been there, done that, again, no t-shirt... hmm ...

Installed pkgfile, looked up Glib.so, uninstalled and reinstalled like this...

pacman -Rdd glib-perl
pacman -S glib-perl

same issue / error message as before...Perl_xs_apiversion_bootcheck...

Any other suggestions, what am I missing...???

shuld I try something like

sudo rm -r /home/arch-un/perl5/lib/perl5/*

...???

THX...

Offline

#6 2015-07-27 16:59:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

Given that pacman doesn't install anything in $HOME, that is obviously the cause of your issues.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-07-28 08:14:17

Zappo-II
Member
Registered: 2014-10-16
Posts: 11

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

jasonwryan wrote:

Given that pacman doesn't install anything in $HOME, that is obviously the cause of your issues.

Ok, so I ...

sudo rm -r /home/arch-un/perl5

...got rid of that, but now...

[arch-un@weareborg ~]$ shutter
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/List/Util/Util.so: undefined symbol: Perl_xs_apiversion_bootcheck
[arch-un@weareborg ~]$

...so I tried something like...

[arch-un@weareborg ~]$ pkgfile Util.so
core/perl
extra/perl-netaddr-ip
community/perl-data-structure-util
community/perl-params-util
[arch-un@weareborg ~]$ sudo pacman -Rdd perl perl-netaddr-ip perl-data-structure-util perl-params-util
...
[arch-un@weareborg ~]$ sudo pacman -S perl perl-netaddr-ip perl-data-structure-util perl-params-util
...

But again...

[arch-un@weareborg ~]$ shutter
/usr/bin/perl: symbol lookup error: /usr/lib/perl5/vendor_perl/auto/List/Util/Util.so: undefined symbol: Perl_xs_apiversion_bootcheck
[arch-un@weareborg ~]$

...been there, done that, (sorry mate) no t-shirt... hmm ...

After that, I re-read this thread and thought I might try something like...

[arch-un@weareborg ~]$ sudo pacman -Qo /usr/lib/perl5/vendor_perl/auto/List/Util/Util.so
/usr/lib/perl5/vendor_perl/auto/List/Util/Util.so ist in perl-scalar-list-utils 1.38-2 enthalten
[arch-un@weareborg ~]$ sudo pacman -R perl-scalar-list-utils
...
[arch-un@weareborg ~]$ sudo pacman -S perl-scalar-list-utils
...
[arch-un@weareborg ~]$ shutter
WARNING: Gtk2::AppIndicator is missing --> there will be no icon showing up in the status bar when running Unity!
[arch-un@weareborg ~]$

Been there, done that, finaly got that f***ing t-shirt... big_smile ...

Considder this thread SOLVED ... smile ...

Thaxalot 4 all your help, thankfully appreciated...

Last edited by Zappo-II (2015-07-28 08:17:47)

Offline

#8 2015-07-28 08:20:29

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2015-07-28 08:22:25

Zappo-II
Member
Registered: 2014-10-16
Posts: 11

Re: [SOLVED] shutter/perl symbol lookup error Perl_xs_apiversion_bootcheck

jasonwryan wrote:

...by editing your first post and prepending it to the title...

That was the part I was missing... wink ...

Thanx again, thanxalot...

Offline

Board footer

Powered by FluxBB