unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: David Pirotte <david@altosw.be>
Subject: guile-1.6.0: loading libraries
Date: Tue, 26 Nov 2002 08:11:37 -0500	[thread overview]
Message-ID: <20021126081137.40d25c4d.david@altosw.be> (raw)

Hi Everyone,

here is a very old probelm, still occuring in guile-1.6.0: loading
modules themselves refering to libraries does not work.

	

1. the lib is there:

	root@faust:/usr/local/lib 3 $ ll libgtrees.so*
	lrwxrwxrwx    1 david    alto           14 2002-11-26 07:52 libgtrees.so -> libgtrees.so.0
	-rwxrwxr-x    1 david    alto        22892 2002-11-26 07:51 libgtrees.so.0
	root@faust:/usr/local/lib 4 $ 

2. the module file

	;; /usr/local/share/guile/struct/gtrees.scm
	(define-module (struct gtrees))
	(load-extension "libgtrees" "init_gtrees_module")

3. the message when trying to load it


david@faust:~ 3 $ guile
guile> (use-modules (struct gtrees))
/usr/local/share/guile/struct/gtrees.scm:4:1: In procedure dynamic-link in expression (load-extension "libgtrees" "init_gtrees_module"):
/usr/local/share/guile/struct/gtrees.scm:4:1: file: "libgtrees", message: "file not found"
ABORT: (misc-error)

Type "(backtrace)" to get more information or "(debug)" to enter the debugger.
guile> 


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user


             reply	other threads:[~2002-11-26 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 13:11 David Pirotte [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-27 11:27 guile-1.6.0: loading libraries Thomas Wawrzinek
2002-11-27  4:17 ` David Pirotte
2002-11-27 16:27   ` Paul Emsley
2002-11-28  7:25 Thomas Wawrzinek

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://www.gnu.org/software/guile/

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

  git send-email \
    --in-reply-to=20021126081137.40d25c4d.david@altosw.be \
    --to=david@altosw.be \
    /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).