[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*
        lrwxrwxrwx    1 david    alto           14 2002-11-26 07:52 ->
        -rwxrwxr-x    1 david    alto        22892 2002-11-26 07:51
        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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]