[asterisk-dev] Compiling Asterisk with LUA

Lahav Savir lahavs at emindsys.com
Tue Apr 14 06:25:42 CDT 2009


Thank you for the response, my comments embedded.



Lahav



-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of Tzafrir Cohen
Sent: Tuesday, April 14, 2009 13:49
To: asterisk-dev at lists.digium.com
Subject: Re: [asterisk-dev] Compiling Asterisk with LUA



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*

 [Lahav Savir] there’s no such a file, but:



linux-hbu4:~ # ls -l /usr/lib/liblua*

-rw-r--r-- 1 root root 793042 Dec  3 04:00 /usr/lib/liblua.a

lrwxrwxrwx 1 root root     13 Apr  4 15:16 /usr/lib/liblua.so -> liblua.so.5.1

-rw-r--r-- 1 root root 191132 Dec  3 04:00 /usr/lib/liblua.so.5.1



>

>

> However the Lua libs exists at:



What is this?

[Lahav Savir] this is the output of “locate lua”.



> /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'



 [Lahav Savir]



linux-hbu4:~ # rpm -qa | grep 'lua.*-devel'

lua-devel-5.1.4-1.22



--

               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



_______________________________________________

--Bandwidth and Colocation Provided by http://www.api-digital.com--



asterisk-dev mailing list

To UNSUBSCRIBE or update options visit:

   http://lists.digium.com/mailman/listinfo/asterisk-dev



No virus found in this incoming message.

Checked by AVG - www.avg.com

Version: 8.5.285 / Virus Database: 270.11.54/2055 - Release Date: 04/13/09 17:56:00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090414/3a2b09bc/attachment-0001.htm 


More information about the asterisk-dev mailing list