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

Matthias Klose doko at debian.org
Sat Jul 14 18:38:51 UTC 2012


On 14.07.2012 18:37, Jakub Wilk wrote:
> 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.

this is most likely caused by building _hashlib as an extension, not a builtin
anymore, to address #680930. rebuilding vim should fix it. however I don't
understand why it's only seen in vim, and not gdb.

libpython2.7 should get a breaks: vim-nox (<= 2:7.3.547-3) after vim is rebuilt.



More information about the pkg-vim-maintainers mailing list