-
Hi, I am trying to run open-dynaMIX/simple-mpv-webui on an old android phone inside a termux environment to use it as a wireless music station using open-dynaMIX/simple-mpv-webui and mpv. I have created an issue over at open-dynaMIX/simple-mpv-webui but the developer said:
and closed the issue. I am getting the following error: ~/KH-Disc 1 $ mpv .
[simple_mpv_webui]
[simple_mpv_webui] stack traceback:
[simple_mpv_webui] [C]: in ?
[simple_mpv_webui] [C]: in function 'require'
[simple_mpv_webui] /data/data/com.termux/files/usr/share/lua/5.2/socket.lua:12: in main chunk
[simple_mpv_webui] [C]: in function 'require'
[simple_mpv_webui] ...files/home/.config/mpv/scripts/simple-mpv-webui/main.lua:4: in main chunk
[simple_mpv_webui] [C]: in ?
[simple_mpv_webui] [C]: in ?
[simple_mpv_webui] Lua error: error loading module 'socket.core' from file '/data/data/com.termux/files/usr/lib/lua/5.2/socket/core.so':
[simple_mpv_webui] dlopen failed: cannot locate symbol "lua_createtable" referenced by "/data/data/com.termux/files/usr/lib/lua/5.2/socket/core.so"...
[file] This is a directory - adding to playlist.
~/KH-Disc 1 $ lua -v
Lua 5.2.4 Copyright (C) 1994-2015 Lua.org, PUC-Rio Additionally, luasocket I have installed using luarocks the following way:
Any advice how I could get this script running properly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I guess it just needs linking with liblua library. Android linker has a fundamental issue where symbols are not exported to |
Beta Was this translation helpful? Give feedback.
I guess it just needs linking with liblua library. Android linker has a fundamental issue where symbols are not exported to
dlopen()
'ed objects: android/ndk#201.