Hmm... I don't see an _r version of the odbc driver. There is an _r version for the libmysqlclient driver. NPX1601155 unixODBC # cat odbcinst.ini [myodbc-5.1] Description=MySQL ODBC myodbc-5.1.6 Driver Driver=/usr/lib/libmyodbc5.so UsageCount=1 NPX1601155 unixODBC # ls /usr/lib/libmy* -lah -rwxr-xr-x 1 root root 297K Dec 10 08:48 /usr/lib/libmyodbc5-5.1.6.so -rw-r--r-- 1 root root 465K Dec 10 08:48 /usr/lib/libmyodbc5.a -rw-r--r-- 1 root root 1.1K Dec 10 08:48 /usr/lib/libmyodbc5.la lrwxrwxrwx 1 root root 19 Dec 10 08:48 /usr/lib/libmyodbc5.so -> libmyodbc5-5.1.6.so lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient -> mysql/libmysqlclient.so.16.0.0 lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so -> mysql/libmysqlclient.so.16.0.0 lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16 -> mysql/libmysqlclient.so.16.0.0 lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16.0 -> mysql/libmysqlclient.so.16.0.0 lrwxrwxrwx 1 root root 30 Dec 10 08:21 /usr/lib/libmysqlclient.so.16.0.0 -> mysql/libmysqlclient.so.16.0.0 lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r -> mysql/libmysqlclient_r.so.16.0.0 lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so -> mysql/libmysqlclient_r.so.16.0.0 lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16 -> mysql/libmysqlclient_r.so.16.0.0 lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16.0 -> mysql/libmysqlclient_r.so.16.0.0 lrwxrwxrwx 1 root root 32 Dec 10 08:21 /usr/lib/libmysqlclient_r.so.16.0.0 -> mysql/libmysqlclient_r.so.16.0.0 Anthony C On Dec 12, 2011, at 11:48 AM, Anthony Minessale wrote:
this is a mysql thing. make sure your odbc driver points at the _r version of the driver in odbcinst.ini
On Mon, Dec 12, 2011 at 7:26 AM, Anthony Cosgrove <acosgrov@gmail.com> wrote: Hey folks,
So I'm using Lua to process fax calls but I've noticed that after the call has ended and things have settled down I get the following message on the console: Error in my_thread_global_end(): nn threads didn't exit
From the testing I've been doing it seems to happen when I use the ODBC functions of freeswitch.Dbh() -- I've posted my debug output on pastebin but it didn't reveal much if anything.
Log output @ http://pastebin.freeswitch.org/17995 Lua code being used @ http://pastebin.freeswitch.org/17997
Has anyone else gotten this message with their ODBC functions? Threads not exiting = menos buenos
Thanks,
Anthony (zorprime)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org