install cryptography==1.3.0 + ffi.h error
Jan Holzhueter
jh at opencsw.org
Thu Jun 23 10:35:59 CEST 2016
Hi,
Am 22.06.16 um 17:24 schrieb Stephen Hjerpe:
> Hi,
>
> I had installed py_cryptography, so the underlying dependencies seem to be satisfied.
>
> When I used asroot pip install cryptography==1.4
>
> I get this error:
>
> build/temp.solaris-2.11-sun4v.32bit-2.7/_openssl.c: In function '_cffi_const_CMS_DEBUG_DECRYPT':
>
> build/temp.solaris-2.11-sun4v.32bit-2.7/_openssl.c:7588:12: error: 'CMS_DEBUG_DECRYPT' undeclared (first use in this function)
>
> int n = (CMS_DEBUG_DECRYPT) <= 0;
>
> build/temp.solaris-2.11-sun4v.32bit-2.7/_openssl.c:7588:12: note: each undeclared identifier is reported only once for each function it appears in
>
> error: command '/opt/csw/bin/gcc-5.2' failed with exit status 1
My wild guess would be that you missed the openssl_dev package. So it
picked up the system openssl headers stuff. Which broke things.
Maybe I'm wrong here.
Anyway updated our cryptography to 1.4 should be in unstable soon.
Needed to update py_cffi first to build new cryptography.
But looks good now
Greetings
Jan
More information about the users
mailing list