[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile-1.6.0: loading libraries
From: |
David Pirotte |
Subject: |
guile-1.6.0: loading libraries |
Date: |
Tue, 26 Nov 2002 08:11:37 -0500 |
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:
address@hidden:/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
address@hidden:/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
address@hidden:~ 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-1.6.0: loading libraries,
David Pirotte <=