Skip to content

Instantly share code, notes, and snippets.

@echristopherson
Last active December 13, 2015 23:38
Show Gist options
  • Select an option

  • Save echristopherson/4992832 to your computer and use it in GitHub Desktop.

Select an option

Save echristopherson/4992832 to your computer and use it in GitHub Desktop.
$ lua ~/Downloads/cairo.lua # https://github.com/pavouk/lgi/blob/master/samples/cairo.lua
** (process:54749): WARNING **: Failed to load shared library 'libcairo-gobject.2.dylib' referenced by the typelib: dlopen(libcairo-gobject.2.dyldylib, 9): image not found
lua: /usr/local/share/lua/5.1/lgi/override/cairo.lua:563: attempt to index field '_module' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/lgi/override/cairo.lua:563: in main chunk
[C]: in function 'require'
/usr/local/share/lua/5.1/lgi/namespace.lua:174: in function </usr/local/share/lua/5.1/lgi/namespace.lua:146>
(tail call): ?
/Users/eric/Downloads/cairo.lua:11: in main chunk
[C]: ?
# This is what happens after I reenable the (non-Lua) cairo package
$ lua ~/Downloads/cairo.lua
lua: /usr/local/share/lua/5.1/lgi/override/cairo.lua:563: attempt to index field '_module' (a nil value)
stack traceback:
/usr/local/share/lua/5.1/lgi/override/cairo.lua:563: in main chunk
[C]: in function 'require'
/usr/local/share/lua/5.1/lgi/namespace.lua:174: in function </usr/local/share/lua/5.1/lgi/namespace.lua:146>
(tail call): ?
/Users/eric/Downloads/cairo.lua:11: in main chunk
[C]: ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment