#103 new defect

_pycryptopp.so: undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE

Reported by: daira Owned by: warner
Priority: major Milestone:
Version: Keywords:
Cc: Launchpad Bug:

Description

davidsarah@katava:~/tahoe/git/trunk$ virtualenv venv
New python executable in venv/bin/python
Installing Setuptools..........................................................................................................................................................done.
Installing Pip............................................................................................................................................................................................................................................................................done.
davidsarah@katava:~/tahoe/git/trunk$ source venv/bin/activate
(venv)davidsarah@katava:~/tahoe/git/trunk$ pip install --upgrade pip
Collecting pip
  Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB)
    100% |████████████████████████████████| 1.2MB 747kB/s 
Installing collected packages: pip
  Found existing installation: pip 1.4.1
    Uninstalling pip-1.4.1:
      Successfully uninstalled pip-1.4.1
Successfully installed pip-8.1.2
(venv)davidsarah@katava:~/tahoe/git/trunk$ pip install --upgrade setuptools
Collecting setuptools
  Downloading setuptools-27.2.0-py2.py3-none-any.whl (465kB)
    100% |████████████████████████████████| 471kB 900kB/s 
Installing collected packages: setuptools
  Found existing installation: setuptools 25.1.0
    Uninstalling setuptools-25.1.0:
      Successfully uninstalled setuptools-25.1.0
Successfully installed setuptools-0.9.8
(venv)davidsarah@katava:~/tahoe/git/trunk$ pip install pycryptopp
Collecting pycryptopp
  Using cached pycryptopp-0.7.1.869544967005693312591928092448767568728501330214.tar.gz
Requirement already satisfied (use --upgrade to upgrade): setuptools>=0.6a9 in ./venv/lib/python2.7/site-packages (from pycryptopp)
Installing collected packages: pycryptopp
  Running setup.py install for pycryptopp ... done
Successfully installed pycryptopp-0.7.1.869544967005693312591928092448767568728501330214
(venv)davidsarah@katava:~/tahoe/git/trunk$ python
Python 2.7.12rc1 (default, Jun 13 2016, 09:20:59) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycryptopp
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/davidsarah/tahoe/git/trunk/venv/local/lib/python2.7/site-packages/pycryptopp/__init__.py", line 8, in <module>
    import _pycryptopp
ImportError: /home/davidsarah/tahoe/git/trunk/venv/local/lib/python2.7/site-packages/pycryptopp/_pycryptopp.so:
undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE

The python-pycryptopp OS package works on this machine. It is:

<module 'pycryptopp' from '/usr/local/lib/python2.7/dist-packages/pycryptopp-0.6.0.1206569328141510525648634803928199668821045408958-py2.7-linux-x86_64.egg/pycryptopp/__init__.pyc'>

Change History (1)

comment:1 Changed at 2016-09-20T17:17:17Z by daira

This is a Linux Mint Debian Edition system with gcc (Debian 4.9.2-3) 4.9.2 and binutils package 2.24.90.20141124-1. This seems potentially relevant: https://gcc.gnu.org/ml/gcc/2013-02/msg00227.html

Note: See TracTickets for help on using tickets.