drforr / perl6-readline

Simple binding to GNU libreadline
Artistic License 2.0
7 stars 16 forks source link

Can't install on macOS without version-specific libreadline symlink #34

Open mjreed-wbd opened 4 years ago

mjreed-wbd commented 4 years ago
===> Testing: Readline:ver<0.1.5>:auth<github:drforr>
[Readline] # Failed test 'initialize'
[Readline] # at t/02-base.t line 10
[Readline] # Cannot locate native library '(null)': dlopen(libreadline.7.dylib, 10): image not found

...followed by a bunch of failures tied to its inability to find that file. I happen to be running readline 8, so a symlink from libreadline.8.dylib to libreadline.7.dylib fixed the problem, but why is it looking for that specific file? If it's going through all the trouble of looking for specific symbols in the library, why must it also look for a specific major version? It seems like it could at least try the unversioned libreadline.dylib file either first or as a fallback.

dominix commented 4 years ago

Same problem.

lathropd commented 4 years ago

This is fixed by https://github.com/drforr/perl6-readline/pull/36.