Search code examples
pythonubuntuopensslswigm2crypto

swig unable to find openssl conf


Trying to install m2crypto and getting these errors, can anyone help ?

SWIG/_evp.i:12: Error: Unable to find 'openssl/opensslconf.h'
SWIG/_ec.i:7: Error: Unable to find 'openssl/opensslconf.h'

Solution

  • ln -s /usr/include/x86_64-linux-gnu/openssl/opensslconf.h /usr/include/openssl/opensslconf.h
    

    Just made this and everything worked fine.