[Buildroot] [PATCH 1/1] package/python: fix building _hashlib of host-python

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 20 11:09:39 UTC 2017


Hello,

On Thu, 20 Jul 2017 18:59:31 +0800, Diankun Zhang wrote:

> From https://packages.ubuntu.com/xenial/amd64/openssl/filelist, we can see
> the openssl package  on ubuntu 16.04 does not cotain the libssl or
> licrypto.so,
> instead they are in package libssl1.0.0,
> https://packages.ubuntu.com/xenial/amd64/libssl1.0.0/filelist.

libssl is a *binary* package that is produced from the source package
openssl.

> In most of systems nowadays, openssl (and libssl ) is installed since the
> hash algorithms are needed to meet kinds of requirements.

Yes, the libraries, but not necessarily the development files.

> Yes, I'm using the pyang tool on my host to compile some YANG files. The
> compiled YANG files are platform independent ideally.

OK.

So, again what is needed is a hidden BR2_PACKAGE_HOST_PYTHON_OPENSSL
that enables OpenSSL support in host-python, which the pyang package
could select.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list