RishabhRD / popfix

Neovim lua API for highly extensible popup window
83 stars 3 forks source link

E5108: Error executing lua .../nvim/pack/packer/start/popfix/lua/popfix/fzy-native.lua:30: dlopen(..../popfix/lua/popfix//lib fzy-darwin-x86_64.so, 5): image not found #6

Closed ahmedelgabri closed 3 years ago

ahmedelgabri commented 3 years ago

After updating I'm getting this error every time I open neovim, notice that the path contains // before the filename at the end.

E5108: Error executing lua .../nvim/pack/packer/start/popfix/lua/popfix/fzy-native.lua:30: dlopen(/Users/ahmed/.config/nvim/pack/packer/start/popfix/lua/popfix//libfzy-darwin-x86_64.so, 5): image not found
RishabhRD commented 3 years ago

I was leaving an unwanted slash character. It works on linux platform on which I work so, I missed it. Thanks for reporting. It should be fixed now. :smiley:

ahmedelgabri commented 3 years ago

Thanks for the fix, but I'm still getting the same error.

ahmedelgabri commented 3 years ago

Ignore that, it was a problem on my side. Your fix works

RishabhRD commented 3 years ago

Glad it works!

ahmedelgabri commented 3 years ago

I figured what's the issue. The fzy integration is optional (according to the README) but the code assumes it's there. So it breaks.

So I had to run make to make it work and stop complaining.

RishabhRD commented 3 years ago

@ahmedelgabri #7 removes the hard dependency of native fzy sorter for project. It also includes install_native_fzy_sorter script for easy installation of native fzy sorter if anyone wants to use it. This makes the whole installation a seamless process.

Thanks for reporting :smile: