<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><tt>That's not good at all. Both libssl and libcrypto should be
in there, this explains the startup errors - it's not linked
against those libraries at all now! If you still want to proceed
with the rpath solution, please compile tls_mgm like so:
"NICER=0 make modules module=tls_mgm", and post the output, so
we know how to fix the make environment.</tt></p>
<p><tt>OTOH, we can follow Robert's suggestion, revert all Makefile
changes, recompile back to the default tls_mgm and just do:</tt></p>
<p><tt>export </tt><tt><span class="m_-2370824627894024829gmail-s1">LD_LIBRARY_PATH=/usr/local/<wbr>ssl/lib<br>
ldd modules/tls_mgm/tls_mgm.so</span></tt></p>
<p><tt><span class="m_-2370824627894024829gmail-s1">If the above
works, you can add a similar logic to your OpenSIPS startup
script.<br>
</span></tt></p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 13.07.2017 02:48, Tito Cumpen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANZPVB7+qXQRi4PGECkj6o3ZkAWxO=MFo=WZd3aY55G--jj-GQ@mail.gmail.com">
<div dir="ltr">Liviu,
<div><br>
</div>
<div>Here is the output:</div>
<div><br>
</div>
<div>
<p class="gmail-p1"><span class="gmail-s1"><span
class="gmail-Apple-tab-span"> </span>linux-vdso.so.1
=><span class="gmail-Apple-converted-space"> </span>(0x00007ffee9d89000)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span
class="gmail-Apple-tab-span"> </span>libdl.so.2 =>
/lib64/libdl.so.2 (0x00007f096f341000)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span
class="gmail-Apple-tab-span"> </span>libresolv.so.2
=> /lib64/libresolv.so.2 (0x00007f096f121000)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span
class="gmail-Apple-tab-span"> </span>libc.so.6 =>
/lib64/libc.so.6 (0x00007f096ed59000)</span></p>
<p class="gmail-p1"><span class="gmail-s1"><span
class="gmail-Apple-tab-span"> </span>/lib64/ld-linux-x86-64.so.2
(0x00007f096f791000)</span></p>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Jul 12, 2017 at 5:51 AM, Liviu
Chircu <span dir="ltr"><<a
href="mailto:liviu@opensips.org" target="_blank"
moz-do-not-send="true">liviu@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p><tt>Can you post the output of the following:</tt></p>
<p><tt>LD_LIBRARY_PATH=</tt><tt><span
class="m_-2370824627894024829gmail-s1">/usr/local/<wbr>ssl/lib/</span>
ldd modules/tls_mgm/tls_mgm.so</tt></p>
<tt>Remember, we want to get it to find the new shared
libraries, not some statically compiled libraries (aka
".a" files).</tt><span class="">
<pre class="m_-2370824627894024829moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_-2370824627894024829moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a></pre>
</span><span class="">
<div class="m_-2370824627894024829moz-cite-prefix">On
12.07.2017 00:38, Tito Cumpen wrote:<br>
</div>
</span>
<blockquote type="cite"><span class="">
<div dir="ltr">Liviu,
<div><br>
</div>
<div><br>
</div>
<div>it is check out the following </div>
<div><br>
</div>
<div>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">ls -al
/usr/local/ssl/lib/</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">total
5780</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">drwxr-xr-x
4 root root<span
class="m_-2370824627894024829gmail-Apple-converted-space">
</span>4096 Jul 11 18:22 </span><span
class="m_-2370824627894024829gmail-s2">.</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">drwxr-xr-x
9 root root<span
class="m_-2370824627894024829gmail-Apple-converted-space">
</span>4096 Jul 11 18:22 </span><span
class="m_-2370824627894024829gmail-s2">..</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">drwxr-xr-x
2 root root<span
class="m_-2370824627894024829gmail-Apple-converted-space">
</span>4096 Apr 24 21:35 </span><span
class="m_-2370824627894024829gmail-s2">engines</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">-rw-r--r--
1 root root 5122378 Jul 11 18:22 libcrypto.a</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">-rw-r--r--
1 root root<span
class="m_-2370824627894024829gmail-Apple-converted-space">
</span>776104 Jul 11 18:22 libssl.a</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s1">drwxr-xr-x
2 root root<span
class="m_-2370824627894024829gmail-Apple-converted-space">
</span>4096 Apr 24 21:35 </span><span
class="m_-2370824627894024829gmail-s2">pkgconfig</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s2"><br>
</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s2"><br>
</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s2">is
there an extra module I need to enable when
compiling openssl?</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s2"><br>
</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s2"><br>
</span></p>
<p class="m_-2370824627894024829gmail-p1"><span
class="m_-2370824627894024829gmail-s2"><br>
</span></p>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jul 11, 2017 at
5:34 PM, Liviu Chircu <span dir="ltr"><<a
href="mailto:liviu@opensips.org"
target="_blank" moz-do-not-send="true">liviu@opensips.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p><tt>That's a libcrypto symbol - make sure
that one is also compiled and installed
under </tt><tt>/usr/local/ssl/lib<br>
</tt></p>
<span>
<pre class="m_-2370824627894024829m_-698660143783951108moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="m_-2370824627894024829m_-698660143783951108moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a></pre>
</span></div>
</blockquote>
</div>
</div>
</span>
<pre>Users mailing list
<a class="m_-2370824627894024829moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_-2370824627894024829moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>