<div dir="ltr">Hi Opensips Team/

Razvan,<div><br></div><div>Thanks for the response, but when i tried to compile opensips version (3.2.3) with latest openssl version (3.0.1 14 Dec 2021) on Centos 7 machine, it throws me erros,</div><div><br></div><font face="times new roman, serif"><b>Linking opensips<br>main.o: In function `pthread_mutex_init':<br>/opt/opensips-codechanged-3.2/ssl_tweaks.h:32: undefined reference to `pthread_mutexattr_setpshared'<br>/opt/opensips-codechanged-3.2/ssl_tweaks.h:38: undefined reference to `pthread_mutexattr_destroy'<br>/opt/opensips-codechanged-3.2/ssl_tweaks.h:26: undefined reference to `pthread_mutexattr_init'<br>main.o: In function `pthread_rwlock_init':<br>/opt/opensips-codechanged-3.2/ssl_tweaks.h:64: undefined reference to `pthread_rwlockattr_setpshared'<br>/opt/opensips-codechanged-3.2/ssl_tweaks.h:70: undefined reference to `pthread_rwlockattr_destroy'<br>/opt/opensips-codechanged-3.2/ssl_tweaks.h:58: undefined reference to `pthread_rwlockattr_init'<br>collect2: error: ld returned 1 exit status</b></font><div><div><font face="times new roman, serif"><b>make: *** [opensips] Error 1</b></font> </div><div><br></div><div>Same errors found on the GITHUB ticket <u><a href="https://github.com/OpenSIPS/opensips/issues/2088">https://github.com/OpenSIPS/opensips/issues/2088</a> </u>but the machine was Debian. And the package dependencies in the answer given by <b>Liviu</b> let us install openssl version 1.0.2, which we don't want to, because if we do, it will compile the opensips with 1.0.2 openssl version.</div><div><br></div><div>Kindly help us in this matter, we are stuck here.  </div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best Regards<div>Saurabh Chopra</div><div>+918861979979</div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 3, 2022 at 2:06 PM Răzvan Crainea <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi, Sasmita!<br>
<br>
You probably compiled opensips 3.2 with a previous openssl version, then <br>
replaced it with the new one.<br>
You need to re-compile tls_openssl with the new version to get this fixed.<br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a><br>
<br>
On 12/21/21 12:30, Sasmita Panda wrote:<br>
> Hi All ,<br>
> <br>
> I have taken opensips 3.2 latest code and configure with tls_openssl to <br>
> support proto_tls proto_wss and tls_gm .<br>
> I have installed openssl-1.1.1 . (Rtpeninge latest branch is not <br>
> suported with older version of openssl , so I have taken the newer <br>
> version here )<br>
> <br>
> <br>
> Installation is successful . While running the opensips process I am <br>
> getting the below error .<br>
> *ERROR:core:sr_load_module: could not open module <br>
> </usr/local/lib64/opensips/modules/auth.so>: <br>
> /usr/local/lib64/opensips/modules/auth.so: undefined symbol: EVP_MD_CTX_free<br>
>   ERROR:core:load_module: failed to load module<br>
>   Traceback (last included file at the bottom):<br>
>   0. /usr/local/etc/opensips/opensips_webrtc_reg.cfg<br>
>   CRITICAL:core:yyerror: parse error in <br>
> /usr/local/etc/opensips/opensips_webrtc_reg.cfg:134:13-14: failed to <br>
> load module auth.so<br>
> *<br>
> <br>
> * ERROR:core:sr_load_module: could not open module <br>
> </usr/local/lib64/opensips/modules/tls_openssl.so>: <br>
> /usr/local/lib64/opensips/modules/tls_openssl.so: undefined symbol: <br>
> OPENSSL_sk_num<br>
>   ERROR:core:load_module: failed to load module<br>
>   Traceback (last included file at the bottom):<br>
>   0. /usr/local/etc/opensips/opensips_webrtc_proxy.cfg<br>
>   CRITICAL:core:yyerror: parse error in <br>
> /usr/local/etc/opensips/opensips_webrtc_proxy.cfg:77:13-14: failed to <br>
> load module tls_openssl.so*<br>
> <br>
> Can anyone help me how to resolve this please ?<br>
> <br>
> */Thanks & Regards/*<br>
> /Sasmita Panda/<br>
> /Senior Network Testing and Software Engineer/<br>
> /3CLogic , ph:07827611765/<br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>