marty | 5 Jul 03:07

Re: lua pooa I dooa

I am not on a dist.
This is my source build Linux.
I never link static libs.

I am using mod 2.5.5.
lua 5.1.3

root <at> dumburger:~# ls -l /usr/lib/liblua.so
-rw-r--r-- 1 root root 191827 Jul  4 13:03 /usr/lib/liblua.so

--with-lua=/usr

This is from configure which says no lua install was found.

LUA_CONFIG="pkg-config"
LUA_PKGNAMES="lua5.1 lua5 lua"
LUA_CFLAGS=""
LUA_LIBS=""

This change identified the shared lib and it decided to use it.
This is what seems to work on my host. Time will tell...

LUA_CONFIG=""
LUA_PKGNAMES=""
LUA_CFLAGS=""
LUA_LIBS="liblua.so"

Marty B.

Brian Rectanus wrote:
> I believe the latest ModSecurity (2.5.5 and 2.5.4 as well) look for a
> lib if pkg-config fails.
> 
> What version of ModSecurity are you using?
> 
> -B
> 
> marty wrote:
>>  > What we support when it comes to Lua is documented--you probably
>>  > missed it. Look up the @inspectFile and SecRuleScript documentation.
>>  >
>>
>> yes, I just updated my docs and found 3 new references to lua;
>> SecRuleScript,inspectFile, and exec.
>>
>> After building liblua.so I had to tweak modsec's configure script
>> because it
>> looked for a pkg-config instead of a lib. No big deal. Built ok.
>>
>> Thanks much,
>>
>> Marty B.
>> -- 
>> Electile Dysfunction : the inability to become aroused over any of the
>> choices for President put forth by either party in the 2008 election.
>>
> 
> 
> 

--

-- 
Electile Dysfunction : the inability to become aroused over any of the
choices for President put forth by either party in the 2008 election.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
mod-security-users mailing list
mod-security-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users

Gmane