<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 9/23/14, 10:38 PM, Gokan Atmaca wrote:<br>
    <blockquote
cite="mid:CAHg8tEBSdpHmFXmOOgRNbYpz0LJ=BbBT7y6YFO5N1SX+D0jzkg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello;<br>
        <br>
        <span id="result_box" class="" lang="en"><span class="">I was
            using the</span> <span class="">1.8</span> <span class="">version
            of</span> <span class="">Asterisk</span><span>.</span> <span
            class="">However,</span> <span class="">due to</span> <span
            class="">a problem</span> <span class="">I had</span> <span
            class="">to update</span><span>.</span> <span class="">Update</span>
          <span class="">reporting system</span> <span class="">is
            broken</span> <span class="">when you have made</span><span>.</span>
          <span class="">Current</span> <span class="">version</span> <span
            class="">11.10</span><span>.</span> <span class="">I
            installed the</span> <span class="">modules</span> <span
            class="">in the system for</span> <span class="">problems</span>
          <span class="">that are missing</span><span>. </span></span><span
          id="result_box" class="" lang="en"><span><span id="result_box"
              class="" lang="en"><span></span><span class="">I getting </span><span
                class="">error</span> <span class="">as follows</span><span
                class="">.</span> </span><br>
            <br>
          </span></span><br>
        <span lang="en"><span>^[[A[Sep 24 03:16:50] WARNING[3624]
            loader.c:<b> Module 'app_mysql.so' was not compiled with the
              same compile-time options as this version of Asterisk.</b><br>
            [Sep 24 03:16:50] WARNING[3624] loader.c: Module
            'app_mysql.so' will not be initialized as it may cause
            instability.<br>
            [Sep 24 03:16:50] WARNING[3624] loader.c: Module
            'app_mysql.so' could not be loaded.<br>
            Asterisk</span> <span>to</span> <span>11.12.0</span> <span>"</span><span>app_mysql.so</span><span>"</span>
          <span>found</span><span>.</span> <span>But it</span> <span>gives</span>
          <span>the following error</span><span>.<br>
            <br>
          </span></span><br>
        <span id="result_box" class="" lang="en"><span class="">Then</span>
          <span class="">I found</span> <span class="">the necessary
            libraries for</span> <span class="">version</span> <span
            class="">10.11</span><span>.</span> <span class="">(</span><span>app_mysql.so</span><span>,</span>
          <span class="">res_config_mysql.so</span><span>)</span> <span
            class="">Now</span> <span class="">the</span><span>'m
            getting an error</span> <span class="">as follows</span><span
            class="">.<br>
            <br>
          </span></span><br>
        <span id="result_box" class="" lang="en"><span class=""><b>Error
              loading module 'app_mysql.so': libmysqlclient.so.16</b>:
            cannot open shared object file: No such file or directory<br>
            <br>
          </span></span><br>
        <span id="result_box" class="" lang="en"><span class=""><br>
            <span lang="en"><span><span lang="en"><span>I want to</span>
                  <span>do this without</span> <span>re-</span><span>installing</span><span>.
                  </span></span>Can you help</span><span> ?</span></span><br>
            <br>
          </span></span></div>
    </blockquote>
        It seems you did not enable the mysql modules when you compiled
    Asterisk 11 and thus the old modules from 1.8 are still in
    /usr/lib/modules/asterisk.  Go to the source code directory where
    you compiled and do a "make menuconfig" and make sure you enable
    cdr_mysql and app_mysql.  Then do another make && make
    install so the modules are copied.<br>
    <br>
    <blockquote
cite="mid:CAHg8tEBSdpHmFXmOOgRNbYpz0LJ=BbBT7y6YFO5N1SX+D0jzkg@mail.gmail.com"
      type="cite">-- Telecomunicaciones Abiertas de México S.A. de C.V.
      Carlos Chávez
      +52 (55)9116-91161</blockquote>
  </body>
</html>