linking issues

Rosen Penev rosenp at gmail.com
Sun Nov 29 04:20:28 EST 2020


Out of curiosity, I ran ldd on every library and binary on my router.
Some of them have problems.

Error relocating /lib/libblkid-tiny.so: md5_begin: symbol not found
Error relocating /lib/libblkid-tiny.so: md5_hash: symbol not found
Error relocating /lib/libblkid-tiny.so: md5_end: symbol not found
Error relocating /lib/libvalidate.so: uci_alloc_context: symbol not found
Error relocating /lib/libvalidate.so: uci_lookup_ptr: symbol not found
Error relocating /lib/libvalidate.so: uci_free_context: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so:
lua_pushinteger: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: luaL_register:
symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: luaL_checktype:
symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so:
luaL_checkinteger: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: lua_pushstring:
symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: lua_call:
symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so:
luaL_optlstring: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so:
lua_pushboolean: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: lua_pushnil:
symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: lua_pushvalue:
symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so:
lua_pushlstring: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so:
luaL_checklstring: symbol not found
Error relocating /usr/lib/lua/luci/template/parser.so: lua_load:
symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushinteger: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_createtable: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_toboolean: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_register: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_checktype: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_rawset: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_optinteger: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_rawgeti: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_checkudata: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_checkinteger: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_argerror: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushstring: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_gettable: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_error: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_call: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_newuserdata: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_newmetatable: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_optlstring: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_rawseti: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_setmetatable: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_settable: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushboolean: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_type: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_tolstring: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushfstring: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_settop: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_tonumber: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushnil: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushvalue: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_setfield: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_remove: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushnumber: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_checklstring: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_tointeger: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_gettop: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_next: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_getfield: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_objlen: symbol not found
Error relocating /usr/lib/lua/ubus.so: luaL_ref: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_isnumber: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_pushlightuserdata: symbol not found
Error relocating /usr/lib/lua/ubus.so: lua_touserdata: symbol not found
Error relocating /usr/lib/rpcd/luci.so: blobmsg_add_json_from_file:
symbol not found

Does anyone else have similar ldd output? It's quite concerning given
that these are core libraries.



More information about the openwrt-devel mailing list