[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile 1.5.4 beta ready for testing.
From: |
rm |
Subject: |
Re: Guile 1.5.4 beta ready for testing. |
Date: |
Thu, 18 Oct 2001 14:00:04 +0200 |
User-agent: |
Mutt/1.0.1i |
[...]
> > after which the make command finishes but the final program just says
> >
> > address@hidden guile-1.5.4]$ ./libguile/guile
> > ERROR: no code for module (readline-activator)
> > address@hidden guile-1.5.4]$ echo $GUILE_LOAD_PATH
> > /home/kwright/build/guile-1.5.4:/home/kwright/build/guile-1.5.4/guile-readline
> >
> > Installing it doesn't help.
>
> What do you mean with `Installing it doesn't help'? It should.
>
> I know that using readline with an uninstalled Guile does not work
> because the readline support (Scheme-)code is expected to live in
> ice-9, and installation copies it there. Before installation it is
> not found.
See also my related posting in the list: It seems that guile can't
find the dll for readline support (the error message 'no code' seems
to indicate that guile can read (ice-9 readline) but can't load the
dll:
;; ice-9/readline.scm
;; Line 38
(dynamic-call "scm_init_readline" (dynamic-link "libguilereadline.so")))
I was able to fix this problem by running guile in an environment where
'/usr/local/lib' is in 'LD_LIBRARY_PATH' (my $prefix for guile being
'/usr/local'), but i consider this only a workarround.
Regarding Marius' suggestion in a previous mail: i _did_ run ldconfig
manually after module installation, without the wanted effect:
ldconfig: /usr/local/lib/libconstraints.so.0 is not a symbolic link
debian:/etc/X11/pwm# exit
address@hidden:/etc/X11/pwm$ guile
ERROR: In procedure dynamic-link:
ERROR: file: "libguilereadline", message: "file not found"
address@hidden:/etc/X11/pwm$
Or, interactive:
address@hidden:/etc/X11/pwm$ guile -q
guile> (use-modules (ice-9 readline))
ERROR: In procedure dynamic-link:
ERROR: file: "libguilereadline", message: "file not found"
ABORT: (misc-error)
guile> address@hidden:/etc/X11/pwm$
I would like to suggest that guile adds 'pkglibdir' (which is known
to the guile runtime) to libltdl's search path.
/* file: dynl.c */
static void
sysdep_dynl_init ()
{
lt_dlinit ();
lt_dladdsearchdir(PKGLIBDIR);
}
Where PKGLIBDIR is the path to guiles package library dir. This
information is available in 'libpath.h'.
This might save some users some headache .... ;-)
Ralf Mattes
> 'martin
>
> _______________________________________________
> Guile-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/guile-devel