(In reply to Adam Majer from comment #2) > Michael is away so I'll take a quick look. Looks like LibreOffice is trying > to open wrong file. Soname for unixODBC is set correctly in libodbc.so.2 > > SONAME libodbc.so.2 > > but libreoffice seems to have these hardcoded??? > > openSUSE:Leap:42.1/libreoffice/libreoffice-5.0.2.2/dbaccess> grep > libodbc.so. * -r > source/ui/dlg/odbcconfig.cxx:#define ODBC_LIBRARY_1 "libodbc.so.1" > source/ui/dlg/odbcconfig.cxx:#define ODBC_LIBRARY "libodbc.so" > > Quickly looking at libreoffice sources tell me that it will actually try to > load the libodbc.so *first* then fallback to the hardcoded soname. > > Workaround is to have unixODBC-devel package installed. But haven't tested. Yep it dlopens it for the fun of it. I will update the code...