I am trying to configure conky to work with cairo, I added "require 'libcairo'" to the top of the default .conkyrc to make sure it would load, however, when I run conky, it gives me this error:
error loading module 'libcairo' from file './libcairo.so':
./libcairo.so: undefined symbol: luaopen_libcairo
I have been browsing other related questions, and most suggest that the lua version and cairo library are mismatched. I have ensured that i am using Lua 5.3 and i compiled the latest version of Cairo from the tarball on their downloads page (version 1.17.4).
I tried using the Lua interpreter to load the module and determine what was actually causing the error, however when i give it
>require 'libcairo'
it returns the same error.
After purging and reinstalling conky, lua, and libcairo, it still is not working. I do not know where I am going wrong but I would be happy to provide any info the reader will need to help.
EDIT: I should add that I am using Arch with KDE5