axiak / pybloomfiltermmap

Fast Python Bloom Filter using Mmap
http://axiak.github.com/pybloomfiltermmap/
MIT License
740 stars 137 forks source link

Installation Failed #72

Open everping opened 8 years ago

everping commented 8 years ago

I got the following error message during the installation. My OS is Ubuntu 15

/usr/bin/ld: cannot find -lcrypto collect2: error: ld returned 1 exit status error: command 'c++' failed with exit status 1 `

Rolling back uninstall of pybloomfiltermmap Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-8hypHs/pybloomfiltermmap/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-8Cvawq-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-8hypHs/pybloomfiltermmap/ `

AlanKK commented 8 years ago

I get this same error building on linux mint (ubuntu) 32 bit.

matutter commented 7 years ago

Hi, I had this issue as well; I solved it with the below on Centos7.

# Centos7 3.10
sudo yum install gcc libffi-devel python-devel openssl-devel
pip install pybloomfiltermmap

I don't use Ubuntu but this might work for you,

sudo apt-get install build-essential libssl-dev libffi-dev python-dev
pip install pybloomfiltermmap

@axiak nice library! You might want to add these requirements in the readme, it looks like there are two open issues involving the missing dev-packages you use in the bdist install.

jamesjguthrie commented 4 years ago

I had this issue and this worked for me on RHEL.

Hi, I had this issue as well; I solved it with the below on Centos7.

# Centos7 3.10
sudo yum install gcc libffi-devel python-devel openssl-devel
pip install pybloomfiltermmap

@axiak nice library! You might want to add these requirements in the readme, it looks like there are two open issues involving the missing dev-packages you use in the bdist install.