[unixODBC-support] pthread and unixODBC problem

Nick Gorham nick.gorham at easysoft.com
Thu Oct 13 10:44:00 BST 2005


José M. Puyal wrote:

>Hi,
>
>We have built unixODBC with the default params, ¿Does this include
>thread support?.
>
>  
>
It depends if it found a thread lib, do a ldd on libodbc.so and see if 
it is dependent on pthreads.

>Thanks in advance and regards.
>
>Josemari
>
>El jue, 13-10-2005 a las 11:07 +0200, José M. Puyal escribió:
>  
>
>>Hi,
>>
>>The segmentation fault happens when we try to create a connection to the
>>database in the first instruction in the run() method of a thread class.
>>    
>>
Yes, but under a debugger where is the fault. Turn tracing on (in 
odbcinst.ini)

[ODBC]
Trace = yes
TraceFile = /tmp/sql.log


and see if it fails inside a ODBC function

-- 
Nick Gorham
Easysoft Limited



More information about the unixODBC-support mailing list