You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone https://github.com/hoelzro/lua-linenoise.git
cd lua-linenoise
make
The .dylib produced by make is complaining about missing symbols.
Question: Why doesn't the Makefile produce a .so file instead?
Using tarantool v1.9.0:
error loading module 'linenoise' from file '/path/to/lua-linenoise/linenoise.dylib':
dlopen(/path/to/lua-linenoise/linenoise.dylib, 6): Symbol not found: _lua_callk
Referenced from: /path/to/lua-linenoise/linenoise.dylib
Expected in: flat namespace
in /path/to/lua-linenoise/linenoise.dylib
Using lua5.1:
lua5.1: error loading module 'linenoise' from file '/path/to/lua-linenoise/linenoise.dylib':
dlopen(/path/to/lua-linenoise/linenoise.dylib, 2): Symbol not found: _luaL_setfuncs
Referenced from: /path/to/lua-linenoise/linenoise.dylib
Expected in: flat namespace
in /path/to/lua-linenoise/linenoise.dylib
stack traceback:
[C]: ?
[C]: in function 'require'
test.lua:11: in main chunk
[C]: ?
make produces a dylib on macOS, since that's the standard shared library extension there (if I remember correctly? It's been a while since I used macOS on my own hardware!). As far as the symbol resolution failures, which version(s) of Lua do you have installed, and which version is tarantool using? make is going to build against whatever version of Lua comes up in your header include path first, so you might need to adjust CFLAGS in the Makefile.
git clone https://github.com/hoelzro/lua-linenoise.git cd lua-linenoise make
The
.dylib
produced by make is complaining about missing symbols.Question: Why doesn't the Makefile produce a
.so
file instead?Using
tarantool v1.9.0
:Using
lua5.1
:Repro:
The text was updated successfully, but these errors were encountered: