[oe] building netdata: "No package 'zlib' found"

Jack Mitchell ml at embed.me.uk
Tue Feb 14 14:19:36 UTC 2017


On 13/02/17 17:01, Robert P. J. Day wrote:
>
>   i'm building a totally stock core-image-minimal for qemuppc with
> latest poky checkout, and when i try to add the existing "netdata"
> recipe to the mix, i get:
>
> | configure: error: Package requirements (zlib) were not met:
> |
> | No package 'zlib' found
> |
> | Consider adjusting the PKG_CONFIG_PATH environment variable if you
> | installed software in a non-standard prefix.
> |
> | Alternatively, you may set the environment variables ZLIB_CFLAGS
> | and ZLIB_LIBS to avoid the need to call pkg-config.
> | See the pkg-config man page for more details.
>
>   apart from fixing this, how could this recipe ever have built
> before? i realize the current recipe for netdata is almost a year old,
> but should it still not build?
>
> rday

Recipe specific sysroots. Zlib is so common that it was probably already 
available in the shared sysroot to be compiled against, now there is no 
access to the shared sysroot it can't be found and fails. So this was 
always a dependency bug but one that was probably never triggered.

Cheers,
Jack

---
Tuxable Ltd
http://www.tuxable.co.uk
Embedded Linux Consultancy



More information about the Openembedded-devel mailing list