Menu

#264 cannot start pac - Perl_xs_apiversion_bootcheck

v1.0 (example)
open
nobody
None
5
2018-08-08
2015-11-03
Luis
No

Hi.
After i upgraded from Fedora 22 to 23 i cannot start pac anymore.
Error in the terminal:
/usr/bin/perl: symbol lookup error: /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so: undefined symbol: Perl_xs_apiversion_bootcheck

Usefull information:
perl -v
This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi

rpm -qa | grep vte
vte291-0.42.1-1.fc23.x86_64
vte3-0.36.5-1.fc23.x86_64
vte-0.28.2-16.fc23.x86_64
vte-profile-0.42.1-1.fc23.x86_64

rpm -qa | grep pac-
pac-4.5.5.5-2.x86_64

Before the upgrade was working fine.
Please help.

Thanks in advance.

Discussion

  • David Torrejón Vaquerizas

    Hi!

    I need your help (everything is pretty simple, believe me)

    First of all, install (yum or whatever method you prefer) the "Vte development" package (it's very small, so don't worry).
    In Debian, is called 'libvte-dev', but in RedHat (and derivatives) I think it's named 'vte-devel'. So, something like:

    yum install vte-devel
    

    should work.

    Now:

    wget http://search.cpan.org/CPAN/authors/id/X/XA/XAOC/Gnome2-Vte-0.11.tar.gz
    
    tar xfz Gnome2-Vte-0.11.tar.gz
    
    cd Gnome2-Vte-0.11/
    
    perl Makefile.PL
    
    make
    

    At this point, please, modify your '/opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so' with the newly complied one 'blib/arch/auto/Gnome2/Vte/Vte.so'. So, do:

    sudo cp -f blib/arch/auto/Gnome2/Vte/Vte.so /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/
    

    It should work! :)

    Oh, and by the way, please, PLEASE, send me your brand-new 'Vte.so' ;)

    • David.
     
  • Luis

    Luis - 2015-11-03

    Hi David.

    Thanks a lot.
    There was missing some steps but thats not the point.
    In the end it worked.
    here it is:
    http://www.megafileupload.com/i0wL/Vte.so

    Thanks.

     
  • David Torrejón Vaquerizas

    Good! Thanks!

    • David.
     
  • Luis

    Luis - 2015-11-04

    Hey David, will you build soon a new rpm for having this stuff fixed?

    Thanks.

     

    Last edit: Luis 2015-11-04
  • David Torrejón Vaquerizas

    Sure! :)

     
  • Luis

    Luis - 2015-11-04

    you'r the man! :-)

     
  • Luis

    Luis - 2015-11-04

    Hi David.
    Just letting you know that, i upgraded to Fedora 23 in my laptop, upgraded to lastest PAC version pac-4.5.5.6-2.x86_64 and didnt work. Same error.

     
  • Luis

    Luis - 2015-11-04

    hey again David.
    After this fix i got a core dump after each time i close PAC.

    PAC started (pac) with PID 4297
    INFO: Used config file '/~.config/pac/pac.nfreeze'
    INFO: Using 'standard Gnome2' tray icon
    PAC finishing (pac) with pid 4297
    Segmentation fault (core dumped)

    And Gnome detects a crash as well.

    dmesg pac messages:
    [Wed Nov 4 19:59:47 2015] pac[4610]: segfault at 59 ip 00007f4a5f4910b0 sp 00007fff1c382d30 error 4 in libgobject-2.0.so.0.4600.1[7f4a5f470000+50000]
    [Wed Nov 4 20:00:00 2015] pac[4692]: segfault at 59 ip 00007fd0ce79e0b0 sp 00007ffeb21951d0 error 4 in libgobject-2.0.so.0.4600.1[7fd0ce77d000+50000]
    [Wed Nov 4 20:00:21 2015] pac[4778]: segfault at 59 ip 00007f67bb4580b0 sp 00007ffd82ddfae0 error 4 in libgobject-2.0.so.0.4600.1[7f67bb437000+50000]

    Can you check it out?
    Thanks.

     
    • ryates

      ryates - 2016-02-04

      I believe that this exiting crash happens on Ubuntu, over the last 2/3 versions. At least, I get a crash related to libgobject.

       
  • David Torrejón Vaquerizas

    Sorry...
    Please, try again with 4.5.5.7 (.6 was a ****ing shitty release)

    • David.
     
  • Luis

    Luis - 2015-11-04

    Take it easy :-)
    I undo the Vte.so stuff and updaded to 4.5.5.7.
    Its works.
    Good Job, Thanks for fixing this issue.

    Although the segfault is still there, but i dont think its related to this issue specifically.

    Goob job on PAC.

     
  • Michael

    Michael - 2016-01-06

    I just update perl in Debian Testing to 5.22.1. I don't thin there where any vte updates, but I get exactly the same message as the first poster. I've got the newest pac version installed - 4.5.5.7.

     
  • ryates

    ryates - 2016-02-04

    Yeah, same thing with Ubuntu Xenial Perl 5.22.1.... Shout if you want the Vte.so :-)

     

    Last edit: ryates 2016-02-04
  • Roman

    Roman - 2016-04-26

    Hello,
    I upgrade 14.04 to 16.04 and pac corrupt
    $ pac
    /usr/bin/perl: symbol lookup error: /opt/pac/lib/ex/vte64/auto/Gnome2/Vte/Vte.so: undefined symbol: Perl_xs_apiversion_bootcheck

    make for instruction
    [12:11:07|Gnome2-Vte-0.11]$ perl Makefile.PL
    Package vte was not found in the pkg-config search path.
    Perhaps you should add the directory containing `vte.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'vte' found
    at Makefile.PL line 75.
    can not find package vte >= 0.10
    check that it is properly installed and available in PKG_CONFIG_PATH
    at Makefile.PL line 75.

    packets instaled
    i A gir1.2-vte-2.91 - GObject introspection data for the VTE library
    i A libvte-2.91-0 - Terminal emulator widget for GTK+ 3.0 - runtime files
    i A libvte-2.91-common- Terminal emulator widget for GTK+ 3.0
    i libvte-common - Terminal emulator widget for GTK+ 2.x - common files
    i libvte9 - Terminal emulator widget for GTK+ 2.0 - runtime files

    What to do?

     
  • David Torrejón Vaquerizas

    Hi!

    Simply:
    1- uninstall PAC (the uninstalling process won't remove your connections/settings, so, don't worry)
    2- rm -rf /opt/pac
    3- Reinstall PAC

    ;)

    • David
     
  • Roman

    Roman - 2016-04-26

    Wow, thnks!

     
  • User 12234

    User 12234 - 2017-04-22

    Pac is no longer works in latest Ubuntu 17.04 with segmentation fault on launch

    Method with Gnome2-Vte isn't working there as well - "perl Makefile.PL" shows error:
    MakeMaker FATAL: prerequisites not found.
    ExtUtils::Depends not installed
    ExtUtils::PkgConfig not installed

     

    Last edit: User 12234 2017-04-22

Log in to post a comment.