[SR-Users] SQLOps module + KEMI

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 3 10:14:54 CEST 2018


Hello,

indeed, I did a rename to make it more clear the purpose of a
drop-related function, breaking the use from other modules.

I pushed the commits to fix the issue, try again with latest master.

Cheers,
Daniel


On 03.04.18 10:01, Igor Olhovskiy wrote:
> Hi! 
>
> As of now app_lua is could not be loaded by Kamailio at all. 
>
> kamailio: ERROR: <core> [core/sr_module.c:582]: load_module(): could
> not open module </usr/local/lib64/kamailio/modules/app_lua.so>:
> /usr/local/lib64/kamailio/modules/app_lua.so: undefined symbol:
> sr_kemi_core_drop
>
>
> PS:
> Latest commit on git:
> commit a5dd60c8d7e04731f12108838a3c82149e04ef9c Author:
> Daniel-Constantin Mierla <mailto:miconda at gmail.com> Date: Tue Apr 3
> 09:27:19 2018 +0200 ipops: mask subnet address for ipv6 comparison -
> coherent with ipv4 behaviou
>
> Regards, Igor
>
> On Apr 2, 2018, 9:18 AM +0300, Daniel-Constantin Mierla
> <miconda at gmail.com>, wrote:
>>
>> Hello,
>>
>> do you have pkg-config installed? This is a tool that helps locating
>> libs and include files.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 31.03.18 11:13, Igor Olhovskiy wrote:
>>> Hi!
>>>
>>> A bit dumb question - how to specify lua.h file path to make
>>> command? It looks in 
>>>
>>> ls: cannot access /usr/local/lib/liblua*: No such file or directory
>>> ls: cannot access /usr/local/lib/liblua*: No such file or directory
>>> CC (gcc) [M app_lua.so] app_lua_mod.o
>>> In file included from app_lua_mod.c:34:0:
>>> app_lua_api.h:25:17: fatal error: lua.h: No such file or directory
>>>  #include <lua.h>
>>>                  ^
>>>
>>> But i’ve installed via apt-get install liblua5.2-dev, and lua.h is
>>> located at /usr/include/lua5.2/
>>>
>>> Regards, Igor
>>>
>>> On Mar 30, 2018, 6:41 PM +0300, Daniel-Constantin Mierla
>>> <miconda at gmail.com>, wrote:
>>>>
>>>> Hello,
>>>>
>>>> can you test with master branch, I pushed a commit for it -- if all
>>>> ok, I will backport.
>>>>
>>>> Cheers,
>>>> Daniel
>>>>
>>>>
>>>> On 30.03.18 14:47, Igor Olhovskiy wrote:
>>>>> Hi!
>>>>>
>>>>> Seems calling function KSR.sqlops.sql_num_rows(«sql_res») crashes
>>>>> Kamailio. At least I got this at 5.1.2 from debian repos with LUA.
>>>>>
>>>>> Getting smth like
>>>>>
>>>>> dev1 kernel: [5780693.247255] kamailio[20659]: segfault at
>>>>> 50b300000004 ip 00007f34d2f46fd6 sp 00007ffe1f0ac310 error 4 in
>>>>> sqlops.so[7f34d2f42000+1c000]
>>>>>
>>>>> Regards, Igor
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Kamailio (SER) - Users Mailing List
>>>>> sr-users at lists.kamailio.org
>>>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>> --   
>>>> Daniel-Constantin Mierla
>>>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>>>> Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
>>>> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
>>
>> --  
>> Daniel-Constantin Mierla
>> www.twitter.com/miconda -- www.linkedin.com/in/miconda
>> Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
>> Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180403/7b58a9aa/attachment.html>


More information about the sr-users mailing list