<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">B) There is that whole threadsafe vs non-threadsafe mysql client lib issue,</blockquote>

<div><br></div><div>In recent versions they&#39;re the same (ie it&#39;s all threadsafe now) so this should only be an issue on older systems..</div><div><br></div><div>libmysqlclient_r still exists for legacy code, but is now just a symlink to libmysqlclient. Possibly it&#39;d disappear at some point.<div>

<br></div><div>I can&#39;t remember if that change was in 5.5 or 5.1 though, and there would be plenty of 5.0/5.1 systems around still. But since libmysqlclient18 (5.5) is threadsafe and can connect to older servers a simple way to enforce it would be to require that as a minimum version perhaps.</div>

<div><br></div><div>There&#39;s also the mysql_config binary, which has a --libs_r option. Only using that one should ensure on all versions that only the thread-safe library is used.</div><div><br></div><div>-Steve</div>

<div><br><div><div><br><br><div class="gmail_quote">On 3 November 2012 17:32, Ken Rice <span dir="ltr">&lt;<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

While this may solve the issue... This does not address a number of other<br>
issues<br>
<br>
A) 90+% of the primary FreeSWITCH developers use PostgreSQL primarily...<br>
<br>
B) There is that whole threadsafe vs non-threadsafe mysql client lib issue,<br>
so we would have to come up with a way in the build system to detect which<br>
we have, and never use the non-thread safe one... (if we don&#39;t do this, the<br>
code would never be stable as we could never know for sure which one<br>
actually got detected and linked against)<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
On 11/3/12 1:40 AM, &quot;Gabriel Gunderson&quot; &lt;<a href="mailto:gabe@gundy.org">gabe@gundy.org</a>&gt; wrote:<br>
<br>
&gt; On Fri, Nov 2, 2012 at 11:55 PM, curriegrad2004<br>
&gt; &lt;<a href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Quite impossible. The reason is because of the license that the MySQL<br>
&gt;&gt; libs are licensed under. iirc, they are GPL licensed and they are not<br>
&gt;&gt; compatible with the MPL that FreeSWITCH uses.<br>
&gt;<br>
&gt; I&#39;ve got PostgreSQL, so I&#39;ve got all I need :) But, it seems like this<br>
&gt; legal issue is easily resolved:<br>
&gt;<br>
&gt; <a href="http://www.mysql.com/about/legal/licensing/foss-exception/" target="_blank">http://www.mysql.com/about/legal/licensing/foss-exception/</a><br>
&gt;<br>
&gt; Anyway, I&#39;m not a lawyer or even a very thorough reader ;)<br>
&gt;<br>
&gt;<br>
&gt; Best,<br>
&gt; Gabe<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
</div></div><div class="im HOEnZb">--<br>
Ken<br>
<a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
<a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div></div></div>