Adam Majer changed bug 1017925
What Removed Added
CC   amajer@suse.com

Comment # 2 on bug 1017925 from
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.


You are receiving this mail because: