[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [SR-Users] app_python module load error in 5.6
From:       Daniel-Constantin Mierla <miconda () gmail ! com>
Date:       2022-08-30 7:28:28
Message-ID: c6ffacca-2869-8ab0-e41b-840aa5ecf3bf () gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,


ok, good that was sorted out! The kamailio/kamailio-tests that I run
before releases should catch undefined symbols for the common modules
and I didn't notice any such error.


Cheers,
Daniel


On 29.08.22 10:04, Stefan-Cristian Mititelu wrote:
>
> Hi,
>
> Thanks for the answer! I am building my own packages from latest 5.6
> and (just) figured out it was one of my (existing) patches that was
> causing that error.
>
> Thank you,
> Stefan
>
> ------------------------------------------------------------------------
> *From:* Daniel-Constantin Mierla <miconda@gmail.com>
> *Sent:* Friday, August 26, 2022 6:33:03 PM
> *To:* Kamailio (SER) - Users Mailing List; Stefan-Cristian Mititelu
> *Subject:* Re: [SR-Users] app_python module load error in 5.6
>   
>
> Hello,
>
>
> what is the exact version printed by Kamailio?
>
>
> Are you using own build deb packages or the ones from deb.kamailio.org?
>
>
> Cheers,
> Daniel
>
>
> On 25.08.22 10:45, Stefan-Cristian Mititelu wrote:
>>
>> Hello,
>>
>> I am trying to load app_python.so module in kamailio 5.6 and I am
>> getting the following error, under debian bullseye:
>>
>> ERROR: <core> [core/sr_module.c:573]: load_module(): could not open
>> module </usr/lib/x86_64-linux-gnu/kamailio/modules/app_python.so>:
>> /usr/lib/x86_64-linux-gnu/kamailio/modules/app_python.so: undefined
>> symbol: LOG_
>>
>>
>> The app_python.so file exists, under that path. Same ERROR for
>> app_python3.so.
>>
>> I have tried updating some modules's Makefile LDFLAGS but didn't work
>> so far; still searching. Any ideas?
>>
>> Thank you,
>> Stefan
>>
>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>   * sr-users@lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to the sender!
>> Edit mailing list options or unsubscribe:
>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> -- 
> Daniel-Constantin Mierla -- www.asipto.com
> www.twitter.com/miconda -- www.linkedin.com/in/miconda

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda

[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p><br>
    </p>
    <p>ok, good that was sorted out! The kamailio/kamailio-tests that I
      run before releases should catch undefined symbols for the common
      modules and I didn't notice any such error. <br>
    </p>
    <p><br>
    </p>
    <p>Cheers,<br>
      Daniel</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 29.08.22 10:04, Stefan-Cristian
      Mititelu wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:42d24a6f732e452198b9c7b63aea216d@1and1.ro">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <style type="text/css" style="display:none;">P \
{margin-top:0;margin-bottom:0;}</style>  <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
        dir="ltr">
        <p>Hi,<br>
          <br>
          Thanks for the answer! I am building my own packages from
          latest 5.6 and (just) figured out it was one of my (existing)
          patches that was causing that error.<br>
          <br>
          Thank you,<br>
          Stefan<br>
        </p>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          face="Calibri, sans-serif" color="#000000"><b>From:</b>
          Daniel-Constantin Mierla <a class="moz-txt-link-rfc2396E" \
href="mailto:miconda@gmail.com">&lt;miconda@gmail.com&gt;</a><br>  <b>Sent:</b> \
Friday, August 26, 2022 6:33:03 PM<br>  <b>To:</b> Kamailio (SER) - Users Mailing \
List;  Stefan-Cristian Mititelu<br>
          <b>Subject:</b> Re: [SR-Users] app_python module load error in
          5.6</font>
        <div>  </div>
      </div>
      <div>
        <p>Hello,</p>
        <p><br>
        </p>
        <p>what is the exact version printed by Kamailio?</p>
        <p><br>
        </p>
        <p>Are you using own build deb packages or the ones from
          deb.kamailio.org?</p>
        <p><br>
        </p>
        <p>Cheers,<br>
          Daniel</p>
        <p><br>
        </p>
        <div class="moz-cite-prefix">On 25.08.22 10:45, Stefan-Cristian
          Mititelu wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:bf6bab647163478b93411cd79af7d8c2@1and1.ro">
          <style type="text/css" style="display:none;">P \
{margin-top:0;margin-bottom:0;}</style>  <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
            dir="ltr">
            <p>Hello,<br>
              <br>
            </p>
            <p>I am trying to load app_python.so module in kamailio 5.6
              and I am getting the following error, under debian
              bullseye:<br>
              <br>
              <span>ERROR: &lt;core&gt; [core/sr_module.c:573]:
                load_module(): could not open module
                &lt;/usr/lib/x86_64-linux-gnu/kamailio/modules/app_python.so&gt;:
/usr/lib/x86_64-linux-gnu/kamailio/modules/app_python.so: undefined
                symbol: LOG_</span></p>
            <p><br>
            </p>
            <p>The app_python.so file exists, under that path. Same
              ERROR for app_python3.so.<br>
              <br>
              I have tried updating some modules's Makefile LDFLAGS but
              didn't work so far; still searching. Any ideas?<br>
              <br>
              Thank you,<br>
              Stefan<br>
            </p>
          </div>
          <br>
          <fieldset class="moz-mime-attachment-header"></fieldset>
          <pre class="moz-quote-pre" \
wrap="">__________________________________________________________ Kamailio - Users \
                Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated moz-txt-link-freetext" \
href="mailto:sr-users@lists.kamailio.org" \
                moz-do-not-send="true">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" \
href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" \
moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
 </pre>
        </blockquote>
        <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" \
href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a> <a \
class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" \
moz-do-not-send="true">www.twitter.com/miconda</a> -- <a \
class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" \
moz-do-not-send="true">www.linkedin.com/in/miconda</a></pre>  </div>
    </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></pre>  \
</body> </html>



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic