Bug#681599: vim/python2.7: symbol lookup error: vim: undefined symbol: init_hashlib

Jakub Wilk jwilk at debian.org
Sat Jul 14 16:37:01 UTC 2012

Package: vim-nox,libpython2.7
Version: vim-nox/2:7.3.547-3
Version: libpython2.7/2.7.3-2
Severity: important
Usertags: serious

Trying to import hashlib crashes the Python interpreter that vim embeds:

$ vim -c 'python import hashlib'
vim: symbol lookup error: vim: undefined symbol: init_hashlib

This didn't happen with python2.7/2.7.3-1… However, I cannot reproduce 
it without vim (e.g.: gdb, which also embeds Python, can import hashlib 
without problems), so perhaps it's vim doing something odd.

-- System Information:
Debian Release: wheezy/sid
   APT prefers unstable
   APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.4-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages libpython2.7 depends on:
ii  libc6      2.13-34
ii  libgcc1    1:4.7.1-5
ii  python2.7  2.7.3-2
ii  zlib1g     1:1.2.7.dfsg-13

Versions of packages vim-nox depends on:
ii  libacl1       2.2.51-8
ii  libc6         2.13-34
ii  libgpm2       1.20.4-6
ii  liblua5.1-0   5.1.5-2
ii  libperl5.14   5.14.2-12
ii  libpython2.7  2.7.3-2
ii  libruby1.9.1
ii  libselinux1   2.1.9-5
ii  libtinfo5     5.9-10
ii  tcl8.5        8.5.11-2
ii  vim-common    2:7.3.547-3
ii  vim-runtime   2:7.3.547-3

Jakub Wilk

More information about the pkg-vim-maintainers mailing list