<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello Ye,</p>
<p>i run MariaDB cluster on different servers.</p>
<p>I installed Kamailio with normal MySQL first and after i
redirected to the MariaDB cluster.<br>
</p>
<p>hope it helps :))</p>
<p>Regarts Rainer <br>
</p>
<br>
<div class="moz-cite-prefix">Am 09.05.18 um 10:46 schrieb Ye,
Charlie (NSB - CN/Qingdao):<br>
</div>
<blockquote
cite="mid:239f958aa07e4799ac5f153522545894@nokia-sbell.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Hi
Daniel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Please
find my answer as below:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">The
operating system: Red Hat Enterprise Linux Server release
7.4 (Maipo).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">I
didn’t modify the Makefile, only include db_mysql module
when made cfg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Thanks
and Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Charlie<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><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" style="text-align:left" align="left"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
lang="EN-US"> Daniel-Constantin Mierla
[<a class="moz-txt-link-freetext" href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>] <br>
<b>Sent:</b> 2018</span><span
style="font-size:11.0pt;font-family:"微软雅黑",sans-serif;color:windowtext">年</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
lang="EN-US">5</span><span
style="font-size:11.0pt;font-family:"微软雅黑",sans-serif;color:windowtext">月</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
lang="EN-US">9</span><span
style="font-size:11.0pt;font-family:"微软雅黑",sans-serif;color:windowtext">日</span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"
lang="EN-US"> 16:27<br>
<b>To:</b> Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a>; Ye, Charlie (NSB -
CN/Qingdao) <a class="moz-txt-link-rfc2396E" href="mailto:charlie.ye@nokia-sbell.com"><charlie.ye@nokia-sbell.com></a><br>
<b>Subject:</b> Re: [SR-Users] Build Kamailio with
MariaDB failed.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="text-align:left" align="left"><span
lang="EN-US"><o:p> </o:p></span></p>
<p><span lang="EN-US">Hello,</span><span
style="font-size:12.0pt" lang="EN-US"><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
style="background:yellow;mso-highlight:yellow"
lang="EN-US">/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" style="text-align:left" align="left"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif" lang="EN-US"><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 moz-do-not-send="true" 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 moz-do-not-send="true" 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" style="text-align:left" align="left"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif" lang="EN-US"><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 moz-do-not-send="true" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://www.kamailioworld.com">www.kamailioworld.com</a><o:p></o:p></span></pre>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>