[Freeswitch-users] Changes to how ODBC, SQL, etc works

Steven Ayre steveayre at gmail.com
Wed Nov 7 18:40:46 MSK 2012


>
> B) There is that whole threadsafe vs non-threadsafe mysql client lib issue,


In recent versions they're the same (ie it's all threadsafe now) so this
should only be an issue on older systems..

libmysqlclient_r still exists for legacy code, but is now just a symlink to
libmysqlclient. Possibly it'd disappear at some point.

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.

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.

-Steve



On 3 November 2012 17:32, Ken Rice <krice at freeswitch.org> wrote:

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


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list