[luci] Is "make runhttpd" supposed to work with x86_64?

Luca Olivetti luca at ventoso.org
Fri Aug 1 02:24:08 CEST 2014


El 31/07/14 23:57, Luca Olivetti ha escrit:
> With my distro (mageia 4, x86_64), with lua5.1 and its devel package,
> make runhttpd stops here:
> 
> build/hostenv.sh /home/luca/midgehg/luci-0.11/host /usr/lib/lua
> /usr/lib/lua "lua build/lucid.lua"
> lua: error loading module 'uci' from file
> '/home/luca/midgehg/luci-0.11/host//usr/lib/lua/uci.so':
>         /home/luca/midgehg/luci-0.11/host//usr/lib/lua/uci.so: undefined
> symbol: lua_pcall
> stack traceback:
>         [C]: in ?
>         [C]: in function 'require'
>         build/setup.lua:4: in main chunk
>         [C]: in function 'dofile'
>         build/lucid.lua:1: in main chunk
>         [C]: in ?
> Makefile:64: recipe for target 'runhttpd' failed
> make: *** [runhttpd] Error 1
> 
> while in a virtual machine (kubuntu, 32bits) it works (that's what I
> used for development but it's cumbersome).
> Is that a vagary of my distro (in that case I'll ask there) or it's a
> problem with x86_64?
> (readelf tells me that there is a lua_pcall in /usr/lib64/liblua.so.5.1).

I didn't see the original message reaching the list but I sorted it.
I had both lua 5.1 and 5.2 installed and /usr/bin/lua pointed to 5.2. I
changed the update-alternatives configuration to point to 5.1 and all is
well.
Previously I tried changing LUA in build/config.mk but it had no effect.

Bye
-- 
Luca



More information about the luci mailing list