[Bug 1017925] LibreOffice demands libobdc.so.1 but unixOBDC only provids libobdc.so.2
http://bugzilla.novell.com/show_bug.cgi?id=1017925 http://bugzilla.novell.com/show_bug.cgi?id=1017925#c3 --- Comment #3 from Tomáš Chvátal <tchvatal@suse.com> --- (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... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com