← Back to team overview

ius-coredev team mailing list archive

[Bug 1320912] Re: python 2.7 crypt module is broken

 

I am also running in to this on another server:

# cat /etc/redhat-release
CentOS release 6.5 (Final)

----

# rpm -qa | grep python27
python27-2.7.6-1.ius.centos6.x86_64
python27-backports-ssl_match_hostname-3.4.0.2-1.ius.centos6.noarch
python27-devel-2.7.6-1.ius.centos6.x86_64
python27-setuptools-3.6-1.ius.centos6.noarch
python27-virtualenv-1.11.5-1.ius.centos6.noarch
python27-pip-1.5.5-1.ius.el6.noarch
python27-libs-2.7.6-1.ius.centos6.x86_64
python27-backports-1.0-1.ius.centos6.x86_64
python27-wheel-0.23.0-1.ius.el6.noarch

----

# python2.7
Python 2.7.6 (default, Nov 11 2013, 12:28:11)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import crypt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/lib64/python2.7/lib-dynload/cryptmodule.so: undefined symbol: crypt
>>>

----

# ls /usr/lib64/python2.7/lib-dynload/cryptmodule.so
/usr/lib64/python2.7/lib-dynload/cryptmodule.so

----

# ldd /usr/lib64/python2.7/lib-dynload/cryptmodule.so
  linux-vdso.so.1 =>  (0x00007fff35bff000)
  libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f4ea1d1a000)
  libc.so.6 => /lib64/libc.so.6 (0x00007f4ea1986000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f4ea213e000)

----

# rpm -qf /usr/lib64/python2.7/lib-dynload/cryptmodule.so
python27-libs-2.7.6-1.ius.centos6.x86_64

----

-- 
You received this bug notification because you are a member of IUS Core
Development, which is subscribed to IUS Community Project.
https://bugs.launchpad.net/bugs/1320912

Title:
  python 2.7 crypt module is broken

Status in IUS Community Project:
  New

Bug description:
  The standard lib crypt module is broken on Python 2.7 running on
  CentOS 6.5.

  
  ----
  $ python2.7
  Python 2.7.6 (default, Nov 11 2013, 12:28:11)
  [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> import crypt
  Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
  ImportError: /usr/lib64/python2.7/lib-dynload/cryptmodule.so: undefined symbol: crypt
  >>> quit()
  ----

  ----
  $ rpm -qa|grep ius
  git18-1.8.5.5-2.ius.centos6.x86_64
  python27-2.7.6-1.ius.centos6.x86_64
  ius-release-1.0-11.ius.centos6.noarch
  perl-Git18-1.8.5.5-2.ius.centos6.noarch
  python27-libs-2.7.6-1.ius.centos6.x86_64
  python27-devel-2.7.6-1.ius.centos6.x86_64
  ----

  We are doing more research to determine exactly why it's broken, but
  wanted to report it for you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ius/+bug/1320912/+subscriptions


References