Bug 26585 - Guile is unable to find its readline library.
Summary: Guile is unable to find its readline library.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL: http://www.gnu.org/software/guile/gui...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-03 17:46 CEST by Patrick Meehan
Modified: 2020-05-05 17:27 CEST (History)
1 user (show)

See Also:
Source RPM: guile-2.0.14-3.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Patrick Meehan 2020-05-03 17:46:21 CEST
Description of problem:

When installing Guile's libguilereadline-v-18-so.0.0 library Guile cannot find and hence activate its readline capabilities.

Version-Release number of selected component (if applicable):

guile-2.0.14-3

How reproducible:

Enter Guile's REPL by entering 'guile' at a command prompt. Then enter the following code: (use-modules (ice-9 readline))

Steps to Reproduce:
1. See above.
2.
3.

Fix:-

As root enter the /usr/lib64 subdirectory and create a new symbolic link using the following command:-

ln -s libguilereadline-v-18.so.0.0 libguilereadline-v-18.so
Comment 1 Lewis Smith 2020-05-05 10:29:54 CEST
Thank you for the report (the actual error output might have clarified the issue); and the fix you discovered. That always helps.
The package 'lib64guilereadline18_18' provides the following:-
 /usr/lib64/libguilereadline-v-18.so.18
 /usr/lib64/libguilereadline-v-18.so.18.0.0
of which    libguilereadline-v-18.so        is yet another variant!

Could the same apply for other components?
Guile has no specific maintainer, so assigning this globally.

Assignee: bugsquad => pkg-bugs

Comment 2 David GEIGER 2020-05-05 11:01:06 CEST
symlink libguilereadline-v-18.so is in lib(64)guile-devel package, so maybe you have to install it to use the readline module?

CC: (none) => geiger.david68210

Comment 3 Patrick Meehan 2020-05-05 17:27:28 CEST
As far as I am aware you should not need to install any development packages to use Guile's readline module. It is not mentioned in the reference manual. 

There appears to be no impact on other modules. Another simple fix is to use the rlwrap command, which will give the REPL similar capabilities.

Sorry, for not including the error output in my bug report.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.