swig unable to find openssl conf

gordon33 picture gordon33 · Aug 1, 2015 · Viewed 7.1k times · Source

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'

Answer

gordon33 picture gordon33 · Aug 6, 2015
ln -s /usr/include/x86_64-linux-gnu/openssl/opensslconf.h /usr/include/openssl/opensslconf.h

Just made this and everything worked fine.