Juergen,

Thank you for the feedback.

I have figured out what the issue is.  The default options to build openssl 
for the *build-host* need to be set so that at least no-ssl2 is defined, and 
possibly "shared".  I think the latter is needed because python may be 
looking for the dynamic lib.  The default openssl build only produces the 
static libs.

Background: In a sandbox rootfs under Linux 12.04LTS I installed openssl and 
found that both _hashlib and _ssl were not included in the libcrypt.a or 
ssl.a modules.  After I ran through ./configure's options, I added "shared" 
and "no-ssl2" to the ./configure command line, (as well as specifying my 
sandbox env using --prefix).  Disabling ssl2 resolves the issue/bug with 
ssl2 (SSLv2_method), which can be addressed later.  

Having hashlib and ssl available will keep the "from hashlib import md5" 
from failing when flup.py is installed (see original posting).

Right now I'm trying to work through the ptxdist guru doc to understand how 
to properly modify the host-openssl.in,.make so that I can define the 
options to build the host-openssl correctly.  

More specifically, I can't find documentation as to how to enable 
"PTXCONF_HOST_OPENSSL" in menuconfig (other than manually editing the 
ptxconfig file) and where does HOST_OPENSSL_PKG get defined?  (Running grep 
through ptxdist/rules only shows the host-openssl.make file).

Any help would be much appreciated.
Regards,
jd





-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to