View Full Version : Conky+lua+cairo error

12th January 2010, 01:37 AM
I use:
Fedora12 x86_64 and

conky --version
Conky 1.7.2 compiled Tue Aug 25 10:34:53 EDT 2009 for Linux 2.6.18-128.4.1.el5xen (x86_64)

Compiled in features:

System config file: /etc/conky/conky.conf
Package library path: /usr/lib64/conky

* Xdamage extension
* XDBE (double buffer extension)
* Xft

Music detection:
* Audacious

* math
* hddtemp
* portmon
* Curl
* wireless
* support for IBM/Lenovo notebooks
* config-output
* ALSA mixer support
* apcupsd
* iostats
* Lua

Lua bindings:
* Cairo

Conky works fine but if I try to run conky with LUA+Cairo I receive this error

Conky: llua_load: error loading module 'cairo' from file '/usr/lib64/conky/libcairo.so':
/usr/lib64/conky/libcairo.so: undefined symbol: tolua_isvaluenil

I searched in Google, Conky hadcore and others but are unable to resolve the problem
Please help me with this error

2nd July 2011, 08:11 PM
I'm also looking for Lua Cairo module
let's see what yum search says...

# yum whatprovides /*cairo.lua

No Matches found

No luck :(

But I found this great Conky article: http://blog.conky.be/2009/09/28/lua-cairo-bindings-getting-started/

---------- Post added at 09:11 PM ---------- Previous post was at 08:05 PM ----------

Actually here is how I got two conky themes that use lua and cairo to work without any issues:

conky lua theme: http://gnome-look.org/content/show.php/Conky+lua?content=139024
download: http://gnome-look.org/CONTENT/content-files/139024-Conky-lua1.tar.gz
tar xvzf 139024-Conky-lua1.tar.gz
cd Conky-lua/
tar xvzf Conky\ fedora-lua.tar.gz
cd Conky\ fedora-lua
mkdir ~/.lua/scripts/ -p
cp clock_rings.lua ~/.lua/scripts/
mkdir ~/.conky
cp fedora-logo.png ~/.conky/
conky -c conkyrc

wget http://gnome-look.org/CONTENT/content-files/137503-conky_orange.zip
unzip 137503-conky_orange.zip
cd conky_orange/
cp conky_orange.lua ~/.conky/
cp tuto-params-lua.png ~/.conky/
conky -c conkyrc_orange