mpx / lua-cjson

Lua CJSON is a fast JSON encoding/parsing module for Lua
https://kyne.au/~mark/software/lua-cjson.php
MIT License
924 stars 474 forks source link

Not loading for luajit/lua 5.1 #40

Open Clyybber opened 7 years ago

Clyybber commented 7 years ago

Even though in the makefile i changed lua_version from 5.3 to 5.1 it doesnt load in 5.1 and luajit and instead spits out this error:

error loading module 'cjson' from file './cjson.so': ./cjson.so: undefined symbol: luaL_setfuncs

I am using "make"

EDIT: Short: I cant compile it for luajit. I'm a noob at c compiling and stuff, and it doesnt show anywhere in the manual.

neomantra commented 7 years ago

See the following for the issue and how to fix it.

karai17 commented 7 years ago

Any chance of an upstream fix for this?

d9k commented 6 years ago

@mpx, ? still experiencing problems with luajit

atefeh-f commented 6 years ago

i install luajit but when i typping (which luajit) then i have any output!!!! for what? please help me.