[Libreoffice-bugs] [Bug 135202] LO 6.4.6.1 and 7.0.1 fail with error 1045 when accessing MySQL database using native connector

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 5 12:36:34 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=135202

--- Comment #44 from Michael Stahl (CIB) <michael.stahl at cib.de> ---
(In reply to Julien Nabet from comment #43)

> but should we do this:
> - add UnpackedTarball/mariadb-connector-c/libmariadb/secure/openssl_crypt in
> external/mariadb-connector-c/StaticLibrary_mariadb-connector-c.mk

... and win_crypt.c for windows.

> - add "#define WIN32 1" in
> external/mariadb-connector-c/configs/wnt_ma_config.h

this should be unnecessary, i mostly see _WIN32 being checked, and WIN32 is
only around <dlfcn.h> but why would anything need that on windows?

> - add "#define HAVE_OPENSSL 1" in
> external/mariadb-connector-c/configs/linux_my_config.h and mac_my_config.h
> ?
> since sha2 needs cryptographic libs.
> At least it builds locally (pc Debian x86-64 with master sources updated
> today, but can't really test since I use MariaDB not MySQL)
> 
> MariaDB proposes gnutls but it seems we use more often openssl

yes this sounds reasonable, we can't use gnutls as it's not in external/.

also need this:

$(eval $(call gb_StaticLibrary_use_external,mariadb-connector-c,openssl))

oh, and it also needs adding to EXTERNAL_PLUGINS and BUILTIN_PLUGINS in
UnpackedTarball_mariadb-connector-c.mk ...
the "caching_sha2_password_client_plugin", presumably...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201105/d4648151/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list