bug-guile-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-guile-ncurses] libguile-ncurses file not found


From: Mike Gran
Subject: Re: [Bug-guile-ncurses] libguile-ncurses file not found
Date: Mon, 18 Nov 2013 05:45:50 -0800 (PST)

>
>When running a program with (use-modules (ncurses curses)..... I get:
>
>scheme@(guile-user)> 
>ERROR: In produre load-extension:
>ERROR: In procedure dynamic-link: file: "libguile-ncurses", message: "file not 
>found"
>
>           0 (load-extension "libguile-ncurses" "gucu_init")
>
>if I look at %site-dir
>
>scheme@(ncurses curses) [1]> (%site-dir)
>$3 = "/usr/share/guile/site/2.0"
>
>
>If I search the disk for libguile-ncurses it is not found.
>Any suggestions?


There's two parts.  A scheme lib and a binary lib.

It looks like it can't find the library binary.  That was probably
installed in /usr/local/lib.  When that happens, it usually means
that /usr/local/lib is not in your LD_LIBRARY_PATH environment
variable.

You could try adding /usr/local/lib to LD_LIBRARY_PATH.

Alternatively, you could look to see where Guile expects to 
find its binary extensions by running

pkg-config guile-2.0 --variable=extensiondir

And the move all the libguile-ncurses.* files there from
/usr/local/lib

But I should probably try to make this install more robust.

Mike


>Thanks
>Mortimer
>
>;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
>;;;       or pass the --no-auto-compile argument to disable.
>;;; compiling /home/mbc/tree/./main.scm
>;;; WARNING: compilation of /home/mbc/tree/./main.scm failed:
>;;; ERROR: In procedure dynamic-link: file: "libguile-ncurses", message: "file 
>not found"
>;;; compiling /usr/share/guile-ncurses/ncurses/form.scm
>;;; WARNING: compilation of /usr/share/guile-ncurses/ncurses/form.scm failed:
>;;; ERROR: In procedure dynamic-link: file: "libguile-ncurses", message: "file 
>not found"
>Backtrace:
>In ice-9/eval.scm:
> 432: 19 [eval # #]
>In ice-9/boot-9.scm:
>2320: 18 [save-module-excursion #<procedure 8968e80 at ice-9/boot-9.scm:3961:3 
>()>]
>3968: 17 [#<procedure 8968e80 at ice-9/boot-9.scm:3961:3 ()>]
>1645: 16 [%start-stack load-stack ...]
>1650: 15 [#<procedure 8b95c60 ()>]
>In unknown file:
>   ?: 14 [primitive-load "/home/mbc/tree/./main.scm"]
>In ice-9/eval.scm:
> 505: 13 [#<procedure 889d480 at ice-9/eval.scm:499:4 (exp)> (use-modules # # 
># ...)]
>In ice-9/psyntax.scm:
>1091: 12 [expand-top-sequence ((use-modules # # # ...)) () ((top)) ...]
> 976: 11 [scan ((use-modules (ncurses curses) (ncurses form) ...)) () ...]
> 270: 10 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
>In ice-9/boot-9.scm:
>3513: 9 [process-use-modules ((#) (#) (#) (#) ...)]
> 625: 8 [map #<procedure 89147d0 at ice-9/boot-9.scm:3513:25 (mif-args)> #]
>3514: 7 [#<procedure 89147d0 at ice-9/boot-9.scm:3513:25 (mif-args)> (#)]
>2783: 6 [resolve-interface (ncurses form) #:select ...]
>2708: 5 [#<procedure 890e460 at ice-9/boot-9.scm:2696:4 (name #:optional 
>autoload version #:key ensure)> # ...]
>2981: 4 [try-module-autoload (ncurses form) #f]
>2320: 3 [save-module-excursion #<procedure 8b953c0 at ice-9/boot-9.scm:2982:17 
>()>]
>3001: 2 [#<procedure 8b953c0 at ice-9/boot-9.scm:2982:17 ()>]
>In unknown file:
>   ?: 1 [primitive-load-path "ncurses/form" ...]
>   ?: 0 [load-extension "libguile-ncurses" "gucu_form_init"]
>
>ERROR: In procedure load-extension:
>ERROR: In procedure dynamic-link: file: "libguile-ncurses", message: "file not 
>found"
>
>
>
>       



reply via email to

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