jeanguyomarch / eovim

The Enlightened Neovim
https://github.com/jeanguyomarch/eovim/wiki
MIT License
193 stars 3 forks source link

Can't load plugins #36

Closed JeanOlivier closed 6 years ago

JeanOlivier commented 6 years ago

It seems like I can't load plugins. They compiled fine and I put them in the .local/lib64/eovim folder as described in the readme — as far as I understand.

This is the error I get in the terminal:

ERR<4510>:eina_module lib/eina/eina_module.c:328 eina_module_load() could not dlopen("/home/user/.local/lib64/eovim/imageviewer.so", libeovim.so: cannot open shared object file: No such file or directory): RTLD_NOW
CRI<4510>:eovim /home/user/Desktop/eovim/src/plugin.c:168 plugin_load() Failed to load plugin 'imageviewer'
ERR<4510>:eina_module lib/eina/eina_module.c:328 eina_module_load() could not dlopen("/home/user/.local/lib64/eovim/sizing.so", libeovim.so: cannot open shared object file: No such file or directory): RTLD_NOW
CRI<4510>:eovim /home/user/Desktop/eovim/src/plugin.c:168 plugin_load() Failed to load plugin 'sizing'

The output of ls -R /home/user/.local/lib64 is:

.:
eovim  libeovim.so

./eovim:
imageviewer.so  libeovim.so  sizing.so

All files are owned by user and executable. I tried chmod 777 and it didn't help.

Thank you!

PS: I'd really like an option to put back the <ESC>: prompt in the bottom line.

jeanguyomarch commented 6 years ago

Hi,

it seems that the dynamic loader was not able to find libeovim.so. It running sudo ldconfig does not help, make sure that the directory in which libeovim.so is installed is listed in one of the files in /etc/ld.so.conf.d/.

For the <ESC>: prompt in the bottom line, I believe that deactivating the option Externalize Command-Line is what you are searching for. It is in the Neovim tab of the settings (accessed via the blue-ish gears icon in the top-right corner).

JeanOlivier commented 6 years ago

Thanks, I managed to make it work with your advice. Now the only issue I see is that I need to click in a buffer after exiting the image preview in order to have the focus on eovim again.