-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module is broken with Readline 7.0 #12
Comments
For anybody landing here: And remove the version. So the line becomes: Disclaimer: could have some differences because of differences between Readline 6 and 7, but if you only have Readline 7 available this should work, and not error out. |
Well, actually this is not proper way to handle this.
Due to the file libreadline.so is not a shared object, its an LD script:
Proper way would be to make a factory which provides unified interface to different libreadline version and handle different version differently. And use proper SONAME:
Detailed explanation here: |
In my case (Ubuntu 18.04 amd64), the fix was the reverse as there is no unversioned .so in Ubuntu 18.04:
To fix the Readline module, in https://github.com/drforr/perl6-readline/blob/master/lib/Readline.pm#L657 change: |
Long time to leave this open, I know. Closing because the Perl library now looks in /lib/x86_64-linux-gnu for installed library versions and picks the highest version it can find. I'll eventually add a way to choose the exact library via environment or something. |
https://lists.gnu.org/archive/html/info-gnu/2016-09/msg00009.html
Readline 7.0 has been out almost a month, and it will be out of Arch's testing repository in a day or two.
Here is the error:
The text was updated successfully, but these errors were encountered: