Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#271 can't load 'cairo' to LUA

git
open
nobody
Code (277)
5
2010-01-21
2010-01-21
No

This configuration works with 1.8.0rc1 but right after compiling 1.7.2_pre1823-676-g6e89ed7 I have this when trying to load my Conky config (it uses "lua_pre_hook" and lua script have "require 'cairo'")

conky: llua_load: error loading module 'cairo' from file '/usr/local/lib/conky/libcairo.so':
/usr/local/lib/conky/libcairo.so: undefined symbol: cairo_matrix_init_identity

conky -v
conky 2.0.0_pre compiled czw, 21 sty 2010, 21:07:21 CET for Linux 2.6.32-10-generic x86_64

Compiled in features:

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

X11:
* Xdamage extension
* XDBE (double buffer extension)
* Xft
* ARGB visual

Music detection:
* MPD
* MOC

General:
* math
* hddtemp
* portmon
* Curl
* nvidia
* builtin default configuration
* Imlib2
* apcupsd
* iostats
* ncurses
* Lua

Lua bindings:
* Cairo
* Imlib2

Discussion

  • Please include your configuration file and (if there are any) scripts that you call.

     
  • OK.
    But in meanwhile 1.7.2_pre1823-715-g064c6f9 works fine

     
  • config file

     
    Attachments
  • script dependencies

     
    Attachments
  • NO. Wrong.
    pre1823-715 worked when 1.8.0rc1 was installed in system and I've run it from git directory like this:
    ~/.src/conky/build$ src/conky -c ~/.conky/.conkyrc-mrclock

    But when I've uninstalled 1.8.0rc1 and installed this 715 git build then error come back

    I've installed rc1 again but before that I needed to uninstall git version and as for every cmake version there is no "uninstall" function in it's make so I've deleted everything by hand and it is what I've seen in /usr/local/lib/conky:

    git 715:
    ~/.src/conky/build$ env LANG=en_US.UTF-8 ls -lAh /usr/local/lib/conky
    total 488K
    -rw-r--r-- 1 root root 279K 2010-02-12 17:29 libcairo.so
    -rw-r--r-- 1 root root 206K 2010-02-12 17:29 libimlib2.so

    1.8.0rc1:
    ~/.src/conky-1.8.0_rc1$ env LANG=en_US.UTF-8 ls -lAh /usr/local/lib/conky
    total 844K
    -rw-r--r-- 1 root root 259K 2010-02-12 23:55 libcairo.a
    -rwxr-xr-x 1 root root 1.0K 2010-02-12 23:55 libcairo.la
    lrwxrwxrwx 1 root root 17 2010-02-12 23:55 libcairo.so -> libcairo.so.0.0.0
    lrwxrwxrwx 1 root root 17 2010-02-12 23:55 libcairo.so.0 -> libcairo.so.0.0.0
    -rwxr-xr-x 1 root root 224K 2010-02-12 23:55 libcairo.so.0.0.0
    -rw-r--r-- 1 root root 176K 2010-02-12 23:55 libimlib2.a
    -rwxr-xr-x 1 root root 1.1K 2010-02-12 23:55 libimlib2.la
    lrwxrwxrwx 1 root root 18 2010-02-12 23:55 libimlib2.so -> libimlib2.so.0.0.0
    lrwxrwxrwx 1 root root 18 2010-02-12 23:55 libimlib2.so.0 -> libimlib2.so.0.0.0
    -rwxr-xr-x 1 root root 173K 2010-02-12 23:55 libimlib2.so.0.0.0

    So as you can see new git cmake build is incomplete - it don't have MAN either

     
  • Newest "1.7.2_pre1823-785-gcc71dea" is that same - install script doing wrong?

    ,------------------------------------------------------------------------------------------------------------------
    env LANG=en_US.UTF-8 conky -c $HOME/.conky/.conkyrc-mrclock
    conky: llua_load: error loading module 'cairo' from file '/usr/local/lib/conky/libcairo.so':
    /usr/local/lib/conky/libcairo.so: undefined symbol: cairo_matrix_init_identity
    conky: desktop window (34000a7) is subwindow of root window (157)
    conky: window type - normal
    conky: drawing to created window (0x8800002)
    conky: drawing to double buffer
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    conky: llua_do_call: function conky_main_mrclock execution failed: attempt to call a nil value
    ------------------------------------------------------------------------------------------------------------------------------'

    ,---------------------------------------------------------------------
    env LANG=en_US.UTF-8 ls -lAh /usr/local/lib/conky
    total 488K
    -rw-r--r-- 1 root root 279K 2010-03-13 20:19 libcairo.so
    -rw-r--r-- 1 root root 206K 2010-03-13 20:19 libimlib2.so
    ---------------------------------------------------------------------------'

    ,--------------------------------------------------------------------------------------------------------------------------------
    env LANG=en_US.UTF-8 conky -v
    conky 2.0.0_pre compiled sob, 13 mar 2010, 20:18:48 CET for Linux 2.6.32-15-generic x86_64

    Compiled in features:

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

    X11:
    * Xdamage extension
    * XDBE (double buffer extension)
    * Xft
    * ARGB visual

    Music detection:
    * MPD
    * MOC

    General:
    * math
    * hddtemp
    * portmon
    * Curl
    * nvidia
    * builtin default configuration
    * Imlib2
    * apcupsd
    * iostats
    * ncurses
    * Lua

    Lua bindings:
    * Cairo
    * Imlib2
    ---------------------'