Hi, I recently compiled the stable version of mailutils with "guile" use flags. Loading the mailutils module from guile fails out of the box. Here is why: The guile module is installed in "/usr/share/guile/site/2.2/mailutils/mailutils/mailutils.scm". The piece of scheme code "only" loads C-libraries: either the environment variable "MAILUTILS_SCM_LIBRARY_ROOT" is set, and it looks in this directory, expecting a specific structure (for example: "libproto/mh/libmu_mh"; otherwise it looks for a file called "libguile-mailutils-v-${V}" in "/lib/64". Portage installed all the required libraries (.so files) on "/lib/64", at the top level, and there is no "libguile-mailutils-v-${V}", so "mailutils.scm" fails. As a workaround, I rewrote "mailutils.scm" so that it points to the actual location of the libraries of my system, and I can use the module as expected.
Created attachment 883247 [details] My custom "mailutils.scm"
Created attachment 883248 [details] The original "mailutil.scm"
Created attachment 883249 [details] emerge --info mailutils
*** Bug 923017 has been marked as a duplicate of this bug. ***