<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Microsoft YaHei";
panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
{font-family:"Microsoft YaHei";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:DengXian;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:DengXian;
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
text-align:left;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
text-align:left;
font-size:12.0pt;
font-family:"Times New Roman",serif;
color:black;}
span.EmailStyle19
{mso-style-type:personal;
font-family:DengXian;
color:windowtext;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";
color:black;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:DengXian;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="ZH-CN" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Hi Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Please find my answer as below:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">The operating system: Red Hat Enterprise Linux Server release 7.4 (Maipo).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">I didn¡¯t modify the Makefile, only include db_mysql module when made cfg.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Thanks and Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Charlie<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="text-align:left"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
Daniel-Constantin Mierla [mailto:miconda@gmail.com] <br>
<b>Sent:</b> 2018</span><span style="font-size:11.0pt;font-family:"΢ÈíÑźÚ",sans-serif;color:windowtext">Äê</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">5</span><span style="font-size:11.0pt;font-family:"΢ÈíÑźÚ",sans-serif;color:windowtext">ÔÂ</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">9</span><span style="font-size:11.0pt;font-family:"΢ÈíÑźÚ",sans-serif;color:windowtext">ÈÕ</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
16:27<br>
<b>To:</b> Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Ye, Charlie (NSB - CN/Qingdao) <charlie.ye@nokia-sbell.com><br>
<b>Subject:</b> Re: [SR-Users] Build Kamailio with MariaDB failed.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">Hello,</span><span lang="EN-US" style="font-size:12.0pt"><o:p></o:p></span></p>
<p><span lang="EN-US">what operating system are you using?<o:p></o:p></span></p>
<p><span lang="EN-US">Have you done any changes to the Makefiles, or is just stock Kamailio?<o:p></o:p></span></p>
<p><span lang="EN-US">Cheers,<br>
Daniel<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 09.05.18 10:23, Ye, Charlie (NSB - CN/Qingdao) wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Does everyone use MariaDB in Kamailio? When I built Kamailio with MariaDB, the below error happened. Would anyone give a help? Thanks in advance!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">[root@clcmos /usr/local/src/kamailio-devel/kamailio]$ # make all</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make -C src/ all</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make[1]: Entering directory `/usr/local/src/kamailio-devel/kamailio/src'</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make[3]: `libsrdb2.so.1.0' is up to date.</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make[3]: `libsrdb1.so.1.0' is up to date.</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">LD (gcc) [M db_mysql.so] db_mysql.so</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US" style="background:yellow;mso-highlight:yellow">/usr/bin/ld: cannot find -lmariadb</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">collect2: error: ld returned 1 exit status</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make[2]: *** [db_mysql.so] Error 1</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make[1]: *** [modules] Error 1</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make[1]: Leaving directory `/usr/local/src/kamailio-devel/kamailio/src'</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><i><span lang="EN-US">make: *** [all] Error 2</span></i><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks and Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Charlie<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> <o:p></o:p></span></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre><span lang="EN-US">_______________________________________________<o:p></o:p></span></pre>
<pre><span lang="EN-US">Kamailio (SER) - Users Mailing List<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></span></pre>
</blockquote>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12.0pt;font-family:"Times New Roman",serif"><br>
<br>
<o:p></o:p></span></p>
<pre><span lang="EN-US">-- <o:p></o:p></span></pre>
<pre><span lang="EN-US">Daniel-Constantin Mierla<o:p></o:p></span></pre>
<pre><span lang="EN-US"><a href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a><o:p></o:p></span></pre>
<pre><span lang="EN-US">Kamailio World Conference - May 14-16, 2018 - <a href="http://www.kamailioworld.com">www.kamailioworld.com</a><o:p></o:p></span></pre>
</div>
</body>
</html>