Red Hat Bugzilla – Bug 20134
Readline commands don't work
Last modified: 2015-03-04 20:08:44 EST
If one tries to use readline commands after having started guile
the control characters are inserted verbatim instead of being interpreted.
This seems to be due to guile being compiled with an incompatible
version of the readline library as I saw the same phenomenon with one
of my own applications and it disappeared after recompilation.
I have just checked the problem and it looks like as a link for the
guilereadline library is missing.
So doing by hand a
ln -s /usr/lib/libguilereadline.so.0 /usr/lib/libguilereadline.so
fixes the problem.
I'll put it in the next build.
Read ya, Phil
Adding the link doesn't fix it for me:
homealonerpm -qf `which guile`
guile> (+ 1 1)
[ Pressing Ctrl-p repeatedly ]
[ And just to be on the safe side: ]
homealonels -l /usr/lib/libguilereadline.so
lrwxrwxrwx 1 root root 30 Nov 12 16:40 /usr/lib/libguilereadline.so -> /usr/lib/libguilereadline.so.0
homealonels -l /usr/lib/libguilereadline.so.0
lrwxrwxrwx 1 root root 25 Oct 18 18:22 /usr/lib/libguilereadline.so.0 -> libguilereadline.so.0.0.0
homealonerpm -qf /usr/lib/libguilereadline.so.0.0.0
Have you looked at /usr/share/doc/guile-1.3.4/NEWS file? There is a note saying
that the readline support has changed and that you need to execute the following
commands to enable readline in guile:
(use-modules (ice-9 readline))
Without them it readline logically doesn't work (as it's not enabled), and
without the ln -s guile won't be able to load the libguilereadline.so as it's
not there (although it's in the guile-devel which is kinda silly... :).
Hope this helps.
Read ya, Phil
Linking and loading the commands as suggested solves the problem.