Thanks Daniel,
I reconfigured the libssl libraries and got the following result for ldd tls.so. Is this fine or am I missing something?
inux-vdso.so.1 => (0x00007ffffe34f000) libssl.so.1.0.0 => /usr/local/ssl/lib/libssl.so.1.0.0 (0x00007fa572d16000) libc.so.6 => /lib64/libc.so.6 (0x00007fa5729be000) libcrypto.so.1.0.0 => /usr/local/ssl/lib/libcrypto.so.1.0.0 (0x00007fa5725a8000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fa5723a4000) libz.so.1 => /usr/lib64/libz.so.1 (0x00007fa572190000) /lib64/ld-linux-x86-64.so.2 (0x0000003976a00000)
Regards Cibin
On 23-Jun-2016, at 11:26 PM, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
you don't have the libraries to link against them listed in the LIBS var -- it is only a path there. There shoulb at least ' -lssl -lcrypto' in addition of what you have there.
Cheers, Daniel
On 23/06/16 09:42, Cibin Paul wrote:
Hello,
Please find the attached Makefile for tls
Thanks & Regards Cibin
On 23-Jun-2016, at 1:08 PM, Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> wrote:
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 < mailto:miconda@gmail.commiconda@gmail.com mailto: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 < mailto:paul_cibin@me.compaul_cibin@me.com mailto: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 < mailto:miconda@gmail.commiconda@gmail.com mailto: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 >>> mailto:sr-users@lists.sip-router.orgsr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >> >> -- >> Daniel-Constantin Mierla >> http://www.asipto.com/http://www.asipto.com http://www.asipto.com/ - http://www.kamailio.org/http://www.kamailio.org http://www.kamailio.org/ >> http://twitter.com/#%21/micondahttp://twitter.com/#!/miconda http://twitter.com/#!/miconda - http://www.linkedin.com/in/micondahttp://www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda >> >> >> _______________________________________________ >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >> mailto:sr-users@lists.sip-router.orgsr-users@lists.sip-router.org mailto:sr-users@lists.sip-router.org >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-usershttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users 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 http://www.linkedin.com/in/miconda
-- 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 http://www.linkedin.com/in/miconda
-- 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/#!/miconda - http://www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda