[asterisk-dev] Compiling Asterisk with LUA

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Apr 14 05:49:12 CDT 2009


On Tue, Apr 14, 2009 at 01:45:39AM -0700, Lahav Savir wrote:
> Hi all,
> 
> The following is the error in the config.log:
> 
> configure:42312: checking for luaL_newstate in -llua5.1
> configure:42347: gcc -o conftest -g -O2   conftest.c -llua5.1    >&5
> /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: cannot find -llua5.1
> collect2: ld returned 1 exit status

  ls -l /usr/lib/liblua5.1*

> 
> 
> However the Lua libs exists at:

What is this?

> /usr/bin/lua
> /usr/bin/lua5.1
> /usr/bin/luac
> /usr/bin/luac5.1
> /usr/include/lua.h
> /usr/include/lua.hpp
> /usr/include/lua5.1
> /usr/include/luaconf.h
> /usr/include/lualib.h
> /usr/lib/liblua.a
> /usr/lib/liblua.so
> /usr/lib/liblua.so.5.1

rpm -qa | grep 'lua.*-devel'

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list