I\'m encountering the following error at unpredictable times in a linux-based (arm) communications application:
pthread_mutex_lock.c:82: __pthread_mutex_lock
adding Threading=0 in /etc/odbcinst.ini file fixed this issue