[gnutls-devel] GnuTLS | guile bindings not multi-arch safe (#838)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Nov 20 15:33:56 CET 2019

civodul commented:

On an FHS distro like Debian, the installed `gnutls.scm` can simply do:

(load-extension "guile-gnutls-v-2" "scm_init_gnutls")

That works because `guile-gnutls-v-2.so` is installed in the directory returned by `pkg-config guile-2.2 --variable extensiondir`.

However, that won't work in the general case where `libdir` for GnuTLS is not necessarily the same as `libdir` for Guile.

I think the solution for Debian is to make the `load-extension` change above.  For upstream GnuTLS though, I'm not sure how this could be addressed.


Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/838#note_247884322
You're receiving this email because of your account on gitlab.com.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20191120/67b79baa/attachment.html>

More information about the Gnutls-devel mailing list