unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Roel Janssen <roel@gnu.org>
Cc: help-guix@gnu.org
Subject: Re: Guix package for gnutls-guile
Date: Fri, 17 Jun 2016 15:54:36 +0200	[thread overview]
Message-ID: <87ziqjvs2r.fsf@gnu.org> (raw)
In-Reply-To: <87k2honrnq.fsf@gnu.org> (Roel Janssen's message of "Fri, 17 Jun 2016 10:30:49 +0200")

Roel Janssen <roel@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	other threads:[~2016-06-17 13:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 15:19 Guix package for gnutls-guile Roel Janssen
2016-06-14 21:43 ` Ludovic Courtès
2016-06-16 22:25   ` Roel Janssen
2016-06-16 22:56     ` Tobias Geerinckx-Rice
2016-06-17  7:57       ` Ludovic Courtès
2016-06-17  8:30         ` Roel Janssen
2016-06-17 13:54           ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ziqjvs2r.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=roel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).