edluffy / hologram.nvim

👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
MIT License
1.29k stars 31 forks source link

Error on macOS with libcairo.dylib not found #14

Open garrettmaring opened 2 years ago

garrettmaring commented 2 years ago

On an M1 mac I'm receiving this error opening vim after installing hologram

Error executing lua .../packer/start/hologram.nvim/lua/hologram/cairo/cairo.lua:12: dlopen(libcairo.dylib, 0x0005): tried: 'libcairo.dylib' (no such file)
edluffy commented 2 years ago

Not entirely sure what is causing this so I have reverted the last pull request until I can sort this out. Do you have cairo installed on your machine?

garrettmaring commented 2 years ago

Would that be brew install cairo on macOS?