libguile package | dlopen: no such file: guile-readline.dll
Brian Inglis
Brian.Inglis@SystematicSW.ab.ca
Sat Jan 6 09:28:29 GMT 2024
On 2024-01-05 18:07, asebian via Cygwin wrote:
> package: liguile3.0_1
> version: 3.0.9-2
>
> ================
> Problem
>
> Loading the ice-9/readline module coming with libguile raises an error:
>
> $ guile -q
> scheme@(guile-user)> (use-modules (ice-9 readline))
> While compiling expression:
> In procedure dlopen: file "guile-readline.dll", message "No such file
> or directory"
>
> Seems as if version number 0 got attached:
>
> $ ls -1 /usr/lib/guile/3.0/extensions/
> guile-readline.la
> guile-readline-0.dll
>
> C:\cygwin64\lib\guile\3.0\exte
> nsions> dir /B
> guile-readline-0.dll
> guile-readline.la
>
> ================
> Makeshift fix
>
> Create symlink (as Admin):
>
> C:\cygwin64\lib\guile\3.0\extensions> mklink guile-readline.dll
> guile-readline-0.dll
> symbolic link created for guile-readline.dll <<===>> guile-readline-0.dll
>
> $ guile -q
> scheme@(guile-user)> (use-modules (ice-9 readline))
> scheme@(guile-user)> (activate-readline)
As these appear to be generated during package config or build, this should be
handled during package config, build, install, or postinstall, perhaps using
alternatives.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry
More information about the Cygwin
mailing list