install cryptography==1.3.0 + ffi.h error

Stephen Hjerpe Stephen.Hjerpe at
Wed Jun 22 17:24:13 CEST 2016


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

Thanks for assisting,

-----Original Message-----
From: users [ at] On Behalf Of Jan Holzhueter
Sent: Wednesday, June 22, 2016 7:54 AM
To: users at
Subject: Re: install cryptography==1.3.0 + ffi.h error


Am 22.06.16 um 15:50 schrieb Stephen Hjerpe:
> Hi Dago,
> Yes, Sun Solaris 10 Sparc, python version 2.7.11. I used
> pkgadd -d
> /opt/csw/bin/pkgutil -U
> /opt/csw/bin/pkgutil -y -i python27
> I did the same when installing libffi_dev. For other platforms I have seen that the environment variable PKG_CONFIG_PATH needs to be set. I do not know if that makes any difference when using the opencsw build process.

do you need 1.3? we do have some older version the the catalog.
And building /running it has lots of of other py deps :)

so you might need to bootstrap those first :)

I can try to update it to 1.3 but newest one is even 1.4. And no clue if it brakes stuff.


More information about the users mailing list