monit lcrypt issue: Expose lcrypt while building monit with Yocto Thud When building monit using Yocto Thud the following error pops while building monit 5.25.2 : /usr/src/debug/monit/5.25.2-r0/monit-5.25.2/src/util.c:1675: undefined reference to `crypt’
Older versions of glibc supplied a libcrypt library for this purpose, and declared the function in <unistd.h>. Newer versions of glibc don't supply libcrypt. In order to prevent the undefined lcrypt error we need to add virtual/crypt to the recipe’s DEPENDS Signed-off-by: Ronan Gaillard <ronan.gaill...@live.fr<mailto:ronan.gaill...@live.fr>> — diff --git a/meta-cgl-common/recipes-cgl/monit/monit_5.25.2.bb b/meta-cgl-common/recipes-cgl/monit/monit_5.25.2.bb index ab9e922..7a96722 100644 --- a/meta-cgl-common/recipes-cgl/monit/monit_5.25.2.bb +++ b/meta-cgl-common/recipes-cgl/monit/monit_5.25.2.bb @@ -9,7 +9,7 @@ HOMEPAGE = "http://mmonit.com/monit/" LICENSE = "AGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=ea116a7defaf0e93b3bb73b2a34a3f51" -DEPENDS = "openssl zlib" +DEPENDS = "openssl zlib virtual/crypt" SRC_URI = "\ http://mmonit.com/monit/dist/${BP}.tar.gz \
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto