Easysoft ODBC-Oracle DriverHow do I stop my application segmentation faulting on exit when using the Easysoft ODBC-Oracle Driver with unixODBC? |
|
To solve this problem add the line DontDLClose = 1 to the odbcinst.ini file.
Oracle adds a callback to the exit function and unixODBC unloads the Easysoft ODBC-Oracle Driver on disconnect causing the callback to fail.
Setting DontDLClose stops unixODBC unloading the Easysoft ODBC-Oracle Driver on disconnect and the callback then succeeds on exit.