Hello,
I found a possible bug with the readline library included in
libguile3.0_1-3.0.9-3 and using it with guile3.0-3.0.9-3.
After invoking guile, I tried to load the readline library, and received
an error that guile-readline.dll is not found:
$ guile
GNU Guile 3.0.10
Copyright (C) 1995-2024 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (ice-9 readline))
While compiling expression:
In procedure dlopen: file "guile-readline.dll", message "No such file or
directory"
However, I found a guile-readline-0.dll, and linked it to
guile-readline.dll as a sibling, and the readline library successfully
loads and activates (and seems to work so far):
$ find /usr/ -iname '*guile*readline*'
/usr/lib/guile/3.0/extensions/guile-readline-0.dll
/usr/lib/guile/3.0/extensions/guile-readline.la
$ ln -s /usr/lib/guile/3.0/extensions/guile-readline-0.dll
/usr/lib/guile/3.0/extensions/guile-readline.dll
$ guile
GNU Guile 3.0.10
Copyright (C) 1995-2024 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.
Enter `,help' for help.
scheme@(guile-user)> (use-modules (ice-9 readline))
scheme@(guile-user)> (activate-readline)
I am not sure if there is a command I missed to link libraries like this
automatically, or if this is a bug.
I didn't find guile-readline.dll in any packages, so I don't believe
this is a package missing:
https://cygwin.com/cgi-bin2/package-grep.cgi?grep=guile-readline.dll
Thoughts?
Thank you!
--Ira Peach
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple