<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hmm, quite strange, the function exists, defined in
      src/core/basex.c:</p>
    <p>$ ag --cc  base64url_dec<br>
      src/core/basex.h<br>
      868:int base64url_dec(char *in, int ilen, char *out, int osize);<br>
      <br>
      src/core/basex.c<br>
      465:int base64url_dec(char *in, int ilen, char *out, int osize)<br>
      <br>
      src/modules/pv/pv_trans.c<br>
      552:            i = base64url_dec(val->rs.s, val->rs.len,<br>
      597:                i = base64url_dec(st.s, st.len,<br>
      600:                i = base64url_dec(val->rs.s,
      val->rs.len,</p>
    <p>What operating system are you using and is the version of the c
      compiler?</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 09.03.20 16:17, Stefan Mititelu
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:ed91bdb2-18a7-9609-518b-71a1e7f9e165@1and1.ro">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Indeed, "journalctl -xe" truncated the error msg... sorry for
        not checking that.<br>
      </p>
      <p><br>
      </p>
      <p>Here it is from syslog:</p>
      <p>Mar  9 17:13:05 LXBU-GRPF8S2 kamailio: ERROR: <core>
        [core/sr_module.c:512]: load_module(): could not open module
        </usr/local/lib64/kamailio/modules/pv.so>:
        /usr/local/lib64/kamailio/modules/pv.so: <b>undefined symbol:
          base64url_dec</b></p>
      <p><br>
      </p>
      <p>Just as a double check I did:</p>
      <p>~/kamailio-upstream$ ls -lah
        /usr/local/lib64/kamailio/modules/pv.so<br>
        -rwxr-xr-x 1 root root 1,2M mar  9 17:13
        /usr/local/lib64/kamailio/modules/pv.so<br>
      </p>
      <p><br>
      </p>
      <p>~/kamailio-upstream$ sudo cat
        /etc/systemd/system/kamailio.service</p>
      <p>...<br>
      </p>
      <p>ExecStart=/sbin/kamailio -P /var/kamailio.pid -f
        /etc/kamailio/kamailio.cfg -m 64 -M 128 -u root -g root<br>
        ...<br>
      </p>
      <p>So the file exists and has proper access rights. <br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">On 09.03.2020 17:01,
        Daniel-Constantin Mierla wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:246a144d-4834-8485-aa11-f6b3c6ddbcfa@gmail.com">
        <pre class="moz-quote-pre" wrap="">The error message doesn't show the real reason of not being able to load
pv.so file, like a missing symbol (which was the case for the initial
report in this thread). Maybe it is due to file permissions or file not
being at that location for what so ever reason, can you check it?</pre>
      </blockquote>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - March 9-11, 2020, Berlin - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - April 27-29, 2020, in Berlin -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>