You are not logged in.

#1 2011-12-25 16:04:38

andreamer
Member
Registered: 2009-08-11
Posts: 41

[SOLVED] vim symbol lookup error

Hi, i have this error when i try to run vim :

vim: symbol lookup error: vim: undefined symbol: Perl_xs_apiversion_bootcheck
dont know if it has to be with my older version of perl (dont have any dependency problems), but i really would try to avoid updating that if possible.
hope someone has any insight in how to solve this, thanks.


64 bits
uname -r : 3.1.5-1-ARCH
vim 7.3.353-2
vim-runtime 7.3.353-2
perl 5.12.3-1

EDIT: Solved the issue by recompiling the vim package from ABS

Last edited by andreamer (2011-12-25 19:37:00)

Offline

#2 2011-12-25 16:26:45

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] vim symbol lookup error

andreamer wrote:

older version of perl

andreamer wrote:

perl 5.12.3-1

andreamer wrote:

dont have any dependency problems

Now you do.

$ readelf -d /usr/bin/vim

Dynamic section at offset 0x1dcda0 contains 31 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libSM.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libICE.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXt.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libncursesw.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libacl.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libperl.so]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpython2.7.so.1.0]
 0x000000000000000c (INIT)               0x422a30
 0x000000000000000d (FINI)               0x584598
 0x000000006ffffef5 (GNU_HASH)           0x400298
 0x0000000000000005 (STRTAB)             0x415bb8
 0x0000000000000006 (SYMTAB)             0x404410
 0x000000000000000a (STRSZ)              37850 (bytes)
 0x000000000000000b (SYMENT)             24 (bytes)
 0x0000000000000015 (DEBUG)              0x0
 0x0000000000000003 (PLTGOT)             0x7dcfe8
 0x0000000000000002 (PLTRELSZ)           8304 (bytes)
 0x0000000000000014 (PLTREL)             RELA
 0x0000000000000017 (JMPREL)             0x4209c0
 0x0000000000000007 (RELA)               0x4207e0
 0x0000000000000008 (RELASZ)             480 (bytes)
 0x0000000000000009 (RELAENT)            24 (bytes)
 0x000000006ffffffe (VERNEED)            0x4206e0
 0x000000006fffffff (VERNEEDNUM)         5
 0x000000006ffffff0 (VERSYM)             0x41ef92
 0x0000000000000000 (NULL)               0x0

Offline

#3 2011-12-25 16:33:05

andreamer
Member
Registered: 2009-08-11
Posts: 41

Re: [SOLVED] vim symbol lookup error

thanks for the quick reply, but sorry i don't understand how it helps me to solve this...

do you mean that now i have a dependency problem and the only way would be to update my perl package? is it not possible to downgrade whichever package broke it because it was working a couple updates ago.

Offline

#4 2011-12-25 16:47:02

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [SOLVED] vim symbol lookup error

Arch is a rolling release. I have no idea what constitutes, for you, "a couple updates". You have 2 options, in order of preference:

1) Update Perl. Arch has 1 supported upgrade path: pacman -Syu. Anything else, and you're on your own.
2) Recompile vim.

Offline

#5 2011-12-25 19:37:14

andreamer
Member
Registered: 2009-08-11
Posts: 41

Re: [SOLVED] vim symbol lookup error

thanks!

falconindy wrote:

Arch is a rolling release. I have no idea what constitutes, for you, "a couple updates". You have 2 options, in order of preference:

1) Update Perl. Arch has 1 supported upgrade path: pacman -Syu. Anything else, and you're on your own.
2) Recompile vim.

Offline

Board footer

Powered by FluxBB