<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're the same (ie it'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'd disappear at some point.<div>
<br></div><div>I can'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'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"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></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'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, "Gabriel Gunderson" <<a href="mailto:gabe@gundy.org">gabe@gundy.org</a>> wrote:<br>
<br>
> On Fri, Nov 2, 2012 at 11:55 PM, curriegrad2004<br>
> <<a href="mailto:curriegrad2004@gmail.com">curriegrad2004@gmail.com</a>> wrote:<br>
>> Quite impossible. The reason is because of the license that the MySQL<br>
>> libs are licensed under. iirc, they are GPL licensed and they are not<br>
>> compatible with the MPL that FreeSWITCH uses.<br>
><br>
> I've got PostgreSQL, so I've got all I need :) But, it seems like this<br>
> legal issue is easily resolved:<br>
><br>
> <a href="http://www.mysql.com/about/legal/licensing/foss-exception/" target="_blank">http://www.mysql.com/about/legal/licensing/foss-exception/</a><br>
><br>
> Anyway, I'm not a lawyer or even a very thorough reader ;)<br>
><br>
><br>
> Best,<br>
> Gabe<br>
><br>
> _________________________________________________________________________<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>
<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>