From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 20 Jul 2017 13:09:39 +0200 Subject: [Buildroot] [PATCH 1/1] package/python: fix building _hashlib of host-python In-Reply-To: References: <20170720095636.72423497@windsurf> <20170720102733.2d606f02@windsurf> <20170720111913.0d9c9c77@windsurf> Message-ID: <20170720130939.1b22a471@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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