[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Cross-compilation lua/lighttpd problem
- From: Petr Stetiar <ynezz@...>
- Date: Fri, 14 Mar 2008 13:06:11 +0100
Jeff Pohlmeyer <yetanothergeek@gmail.com> [2008-03-14 04:44:48]:
> On Thu, Mar 13, 2008 at 5:51 PM, <plegal@appert44.org> wrote:
>
> > ./configure --host=bfin-linux-uclibc --disable-ipv6 --without-zlib
> > --without-bzip2 --with-lua --prefix=/tmp/bfin LUA_LIBS=/tmp/lua-5.1.3/src/
> > LUA_CFLAGS=-I/tmp/lua-5.1.3/src/
>
> > root:~> lighttpd -f /etc/lighttpd.conf -D
> > lighttpd: can't resolve symbol '_lua_pushlstring'
>
> > Any idea ?
>
> Maybe add something like LDFLAGS=-llua to configure command.
'ldd lighttpd' should show dynamic libraries. I think, that it's not missing
lua library, otherwise the error message would be different. It's something
else. I would do:
strings <lua.so lib> | grep lua_pushlstring
or
objdump -t <lua.so lib> | grep lua_pushlstring
to see if it's _lua_pushlstring available.
-- ynezz