Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not loading on OSX #127

Closed
grobmeier opened this issue Sep 10, 2018 · 1 comment
Closed

Not loading on OSX #127

grobmeier opened this issue Sep 10, 2018 · 1 comment

Comments

@grobmeier
Copy link

I have installed weechat with:

brew install lua
brew install luarocks
luarocks install cjson
brew install weechat --with-lua

And added the env from the readme.

Running weechat I had to do:
/script load matrix.lua

Which outputted:


         │21:10:49 =!= | lua: unable to execute file "/Users/<my_user>/.weechat/lua/matrix.lua"
         │21:10:49 =!= | lua: error: error loading module 'cjson' from file '/usr/local/lib/lua/5.3/cjson.so':
         │21:10:49     | dlopen(/usr/local/lib/lua/5.3/cjson.so, 6): Symbol not found: _lua_objlen
         │21:10:49     |   Referenced from: /usr/local/lib/lua/5.3/cjson.so
         │21:10:49     |   Expected in: flat namespace
         │21:10:49     |  in /usr/local/lib/lua/5.3/cjson.so

I am not a Lua coder so any pointers where to look now would be appreciated. Thanks!

@grobmeier
Copy link
Author

Sorry, I just found this and it appears I am able to run it now:
mpx/lua-cjson#56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant