[asterisk-dev] Compiling Asterisk with LUA

Lahav Savir lahavs at emindsys.com
Tue Apr 14 03:45:39 CDT 2009


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


However the Lua libs exists at:
/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

Also /etc/ld.so.conf contains:
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/lib/Xaw3d
/usr/i386-suse-linux/lib
/usr/local/lib
/opt/kde3/lib
/usr/lib
/usr/include
/usr/bin
include /etc/ld.so.conf.d/*.conf


10x,
Lahav

-----Original Message-----
From: asterisk-dev-bounces at lists.digium.com [mailto:asterisk-dev-bounces at lists.digium.com] On Behalf Of asterisk-dev-request at lists.digium.com
Sent: Tuesday, April 14, 2009 01:24
To: asterisk-dev at lists.digium.com
Subject: asterisk-dev Digest, Vol 57, Issue 25

Message: 4
Date: Mon, 13 Apr 2009 12:49:20 -0700
From: Lahav Savir <lahavs at emindsys.com>
Subject: [asterisk-dev] Compiling Asterisk with LUA
To: "asterisk-dev at lists.digium.com" <asterisk-dev at lists.digium.com>
Message-ID:
	<72FBE9427D7AE840A04CE33DAD21FDC24607DDA9 at EXMBX01.apps4rent.net>
Content-Type: text/plain; charset="windows-1250"

Hello,

I?m having troubles to compile Asterisk 1.6.0.9 with LUA on OpenSuse 11.

I installed the LUA 5.1 packages from YAST (liblua5_1-5.1.4-1.22, lua-5.1.4-1.22, lua-devel-5.1.4-1.22) but still Asterisk can?t resolve the required dependencies.

Any clue or direction will be appreciated.

Lahav Savir


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090413/ad91c895/attachment-0001.htm 

------------------------------


Message: 6
Date: Mon, 13 Apr 2009 15:46:28 -0500
From: Russell Bryant <russell at digium.com>
Subject: Re: [asterisk-dev] Compiling Asterisk with LUA
To: Asterisk Developers Mailing List <asterisk-dev at lists.digium.com>
Message-ID: <49E3A4A4.1070503 at digium.com>
Content-Type: text/plain; charset=windows-1250

Lahav Savir wrote:
> I?m having troubles to compile Asterisk 1.6.0.9 with LUA on OpenSuse 11.
> 
> I installed the LUA 5.1 packages from YAST (liblua5_1-5.1.4-1.22, lua-5.1.4-1.22, lua-devel-5.1.4-1.22) but still Asterisk can?t resolve the required dependencies.
> 
> Any clue or direction will be appreciated.

Check out the config.log file that the configure script generates.  It
will tell exactly what part of the LUA check failed.

-- 
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org





No virus found in this outgoing 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



More information about the asterisk-dev mailing list