$OpenBSD: patch-iodbcinst_SQLGetTranslator_c,v 1.2 2017/11/15 15:45:12 sthen Exp $
Index: iodbcinst/SQLGetTranslator.c
--- iodbcinst/SQLGetTranslator.c.orig
+++ iodbcinst/SQLGetTranslator.c
@@ -251,7 +251,7 @@ GetTranslator (HWND hwndParent, LPSTR lpszName, WORD c
 # endif
 #else
 
-      CALL_TRSCHOOSE_DIALBOX ("libiodbcadm.so.2");
+      CALL_TRSCHOOSE_DIALBOX ("libiodbcadm.so");
 #endif
 
       if (ret == SQL_NO_DATA)
@@ -308,7 +308,7 @@ GetTranslator (HWND hwndParent, LPSTR lpszName, WORD c
 	    }
 
 	  /* The last ressort, a proxy driver */
-	  CALL_CONFIG_TRANSLATOR ("libtranslator.so.2");
+	  CALL_CONFIG_TRANSLATOR ("libtranslator.so");
 
 	  /* Error : ConfigDSN could no be found */
 	  PUSH_ERROR (ODBC_ERROR_LOAD_LIB_FAILED);
