Roel Janssen <r...@gnu.org> skribis:

[...]

>>>> I still get the following error output:
>>>> ;;; Failed to autoload make-session in (gnutls):
>>>> ;;; ERROR: missing interface for module (gnutls)
>>>> ERROR: In procedure module-lookup: Unbound variable: make-session

[...]

> My Guile paths are fine:
>
> [rjanssen2@localhost ~]$ env | grep guile
> GUILE_LOAD_PATH="/home/rjanssen2/.guix-profile/share/guile/site/2.0"
> GUILE_LOAD_COMPILED_PATH="/home/rjanssen2/.guix-profile/lib/guile/2.0/ccache:/home/rjanssen2/.guix-profile/share/guile/site/2.0"
>
> And I verified that:
>   /home/rjanssen2/.guix-profile/share/guile/site/2.0/gnutls.scm
> exists.
>
> Is there anything else that can cause this error output?

Can you try “guile -c '(use-modules (gnutls))'”?

The GnuTLS bindings are written in C, with guile-gnutls.so being
dlopened when (gnutls) is loaded.  Dlopening may fail if, for instance,
guile-gnutls.so is linked against a different libc than guile.

Thus, you have to use Guile and GnuTLS both from Guix, or both from your
other distro; you cannot mix them.

HTH!

Ludo’.

Reply via email to