Skip to content

segmentation fault on import with OS X

Created by: jinty

Running this script with the pypy from pypy.org and icu installed from macports:

#!/bin/bash

set -e

curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-13.0.1.tar.gz
tar xvfz virtualenv-13.0.1.tar.gz
cd virtualenv-13.0.1
~/py/pypy/bin/pypy virtualenv.py myVE

cd myVE
export PYICU_INCLUDES=/opt/local/include
export PYICU_LFLAGS=-L/opt/local/lib
./bin/pip install PyICU
./bin/pypy -c 'import icu'

results in this:

./test.sh: line 14: 73312 Segmentation fault: 11  ./bin/pypy -c 'import icu'

Would be happy to provide any more info that might help resolve the issue.