[unixODBC-support] WG: Postgresql - Freeswitch Crash

Nick Gorham nick at lurcher.org
Fri Oct 14 08:27:16 BST 2011


 From what I can see of the log the code its failing in is calling a 
pthread_mutex_lock. in the 2.3 code that is only called if Threading is 
set. It should still not break, but if you were using the 2.3 and the 
ini is set as you have, it should not even be calling that.

Can you check that the lib built from the trubk of the code is the one 
you are now using. The trunk has changed the api number so if the ap is 
linked against libodbc.so.1 it may still be using the old one.

Check using

ldd yourapplication

to see if it shows what libodbc its using, or if its set in a ini file 
which one is loaded.

Not only because of the library number, building from source will put 
the lib in /usr/local/lib your apptitude installed one may be in 
/usr/lib so being found first.

So I think the first step is to make sure its using the unixODBC that 
you think it is.


More information about the unixODBC-support mailing list