[SR-Users] Compiling kamailio with custom openssl

Daniel-Constantin Mierla miconda at gmail.com
Thu Jun 23 09:38:16 CEST 2016


Hello,

so it is not linked to any libssl. The Makefile for tls module is not
properly made. Maybe you can attach it and we can see what is the problem.

Cheers,
Daniel


On 23/06/16 09:36, Cibin Paul wrote:
> Hello,
>
> Yes I have the old libssl too. But the /usr/local/ssl/lib has the new
> version which I updated in LIBS. Please find below the output of ldd
> tls.so
>
> linux-vdso.so.1 =>  (0x00007fff8137d000)
> libc.so.6 => /lib64/libc.so.6 (0x00007f070ef92000)
> /lib64/ld-linux-x86-64.so.2 (0x0000003976a00000)
>
> Regards
> Cibin
>
>
>
>
>
>
>> On 23-Jun-2016, at 12:56 PM, Daniel-Constantin Mierla
>> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>>
>> Hello,
>>
>> do you have also another version of the libssl installed?
>>
>> Can you do ldd on tls.so module of kamailio and send here the output?
>>
>> Cheers,
>> Daniel
>>
>>
>> On 23/06/16 09:19, Cibin Paul wrote:
>>> Hi,
>>>
>>> Any pointer please
>>>
>>> Regards
>>> Cibin
>>>
>>>
>>>> On 20-Jun-2016, at 1:36 PM, Cibin Paul <paul_cibin at me.com> wrote:
>>>>
>>>> Hello Daniel,
>>>>
>>>> Sorry for late response. I tried adding the following entry in
>>>> modules/tls/Makefile
>>>>
>>>> ifneq ($(SSL_BUILDER),)
>>>>         DEFS += -I/usr/local/ssl/include
>>>>         LIBS += -L/usr/local/ssl/lib
>>>>
>>>>
>>>> Starting kamailio, giving following error. I am using
>>>> kamailio-4.4.1 with  openssl 1.0.2h 
>>>>
>>>> ERROR: <core> [sr_module.c:582]: load_module(): could not open
>>>> module </usr/local/lib64/kamailio/modules/tls.so>:
>>>> /usr/local/lib64/kamailio/modules/tls.so: undefined symbol:
>>>> GENERAL_NAME_free
>>>>
>>>> Could you please throw some light on this. 
>>>>
>>>> Regards
>>>> Cibin
>>>>
>>>>
>>>>
>>>>
>>>>> On 17-Jun-2016, at 5:30 PM, Daniel-Constantin Mierla
>>>>> <miconda at gmail.com> wrote:
>>>>>
>>>>> Hello,
>>>>>
>>>>> edit the modules/tls/Makefile to set the DEFS and LIBS with the
>>>>> paths to
>>>>> your lib.
>>>>>
>>>>> Cheers,
>>>>> Daniel
>>>>>
>>>>>
>>>>> On 17/06/16 13:30, Cibin Paul wrote:
>>>>>> Hi,
>>>>>>
>>>>>> Can any one guide me to compile kamailio with custom openssl path
>>>>>> please.
>>>>>>
>>>>>> Thanks & Regards
>>>>>> Cibin
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
>>>>>> mailing list
>>>>>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>>> -- 
>>>>> Daniel-Constantin Mierla
>>>>> http://www.asipto.com <http://www.asipto.com/> -
>>>>> http://www.kamailio.org <http://www.kamailio.org/>
>>>>> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -
>>>>> http://www.linkedin.com/in/miconda
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>>>>> list
>>>>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>
>>
>> -- 
>> Daniel-Constantin Mierla
>> http://www.asipto.com - http://www.kamailio.org
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160623/b86e3f19/attachment.html>


More information about the sr-users mailing list