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@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@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@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@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


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@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